Thanks Alex, inserted "[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" " via gedit on my .bashrc and aparently it worked.
On 12 maio, 20:12, Alex Katebi <[email protected]> wrote: > On Thu, May 12, 2011 at 12:49 PM, Cássio <[email protected]> wrote: > > I still didnt get it. I used this: > > Did your action insert this line: > > [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" > > into your .bashrc? Are you using bash shell? > > please answer both questions. > > > > user$ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/ > > > > > > > > > rvm" # Load RVM function' >> ~/.bash_profile > > As it tells me to use onhttp://beginrescueend.com/rvm/install/ > > > On May 12, 10:04 am, Alex Katebi <[email protected]> wrote: > > > This is the original line that you used to into your .bashrc: > > > > [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" > > > > This one is the new way that uses the bash shell echo command to stick > > the > > > same line above in your .bashrc. > > > You can not put this in your .bashrc. You have to run this line in a bash > > > shell terminal and do the same thing as above. > > > > echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # > > Load > > > RVM function' >> ~/.bash_profile > > > > Most people just put the second line in the .bashrc by mistake. > > > > On Thu, May 12, 2011 at 2:49 AM, Colin Law <[email protected]> > > wrote: > > > > On 12 May 2011 00:35, Alex Katebi <[email protected]> wrote: > > > > > The problem is not Ubuntu. It is rvm. The line that you are suppose > > to > > > > add > > > > > to your .bashrc has changed: > > > > > > user$ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . > > > > "$HOME/.rvm/scripts/rvm" > > > > > # Load RVM function' >> ~/.bash_profile > > > > > > Now you are suppose to run it from a shell. The old way was: > > > > > > [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" > > > > > > which you add it to your .bashrc file. > > > > > I had the same stupid problem. > > > > > I can't see the difference, can you point it out for me? > > > > > Colin > > > > > > On Wed, May 11, 2011 at 11:58 AM, Cássio <[email protected]> > > > > wrote: > > > > > >> Hello, after upgrading to ubuntu 11.04 im having this problem with > > > > >> rvm. Im following this tutorial: > > > > >>http://ruby.railstutorial.org/ruby-on-rails-tutorial-book#top > > > > > >> Git is installed OK, when I follow the instructions on RVM website > > > > >> aparently its OK too, but when I close my terminal and open a new > > one > > > > >> and tipe ruby -v ou rvm -v for example I got a messenge "rvm is not > > > > >> installed". > > > > > >> What should I do? > > > > > >> -- > > > > >> You received this message because you are subscribed to the Google > > > > Groups > > > > >> "Ruby on Rails: Talk" group. > > > > >> To post to this group, send email to > > [email protected]. > > > > >> To unsubscribe from this group, send email to > > > > >> [email protected]. > > > > >> For more options, visit this group at > > > > >>http://groups.google.com/group/rubyonrails-talk?hl=en. > > > > > > -- > > > > > You received this message because you are subscribed to the Google > > Groups > > > > > "Ruby on Rails: Talk" group. > > > > > To post to this group, send email to > > [email protected]. > > > > > To unsubscribe from this group, send email to > > > > > [email protected]. > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/rubyonrails-talk?hl=en. > > > > > -- > > > > You received this message because you are subscribed to the Google > > Groups > > > > "Ruby on Rails: Talk" group. > > > > To post to this group, send email to [email protected] > > . > > > > To unsubscribe from this group, send email to > > > > [email protected]. > > > > For more options, visit this group at > > > >http://groups.google.com/group/rubyonrails-talk?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Ruby on Rails: Talk" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > >http://groups.google.com/group/rubyonrails-talk?hl=en. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

