On 3 June 2013 23:07, Alphonse 23 <li...@ruby-forum.com> wrote: > sean@ubuntu:~/ruby/things_i_bought$ echo $PATH > /home/sean/.rvm/gems/ruby-2.0.0-p0/bin:/home/sean/.rvm/gems/ruby-2.0.0-p0@global/bin:/home/sean/.rvm/rubies/ruby-2.0.0-p0/bin:/home/sean/.rvm/bin:/home/sean/sbt/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/bin/:/home/sean/AWS-ElasticBeanstalk-CLI-2.3.1/eb/linux/python2.7/:/home/sean/anaconda/bin/ > > and here's the relevent section of my .bashrc file: > > PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting > > [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This > loads RVM > > Also, when I type in `which ruby` it freezes the console.
In that case you have a serious problem that is nothing to do with ruby itself. All which does (AFAIK) is to look in the path for the file to execute. Colin > > Norbert Melzer wrote in post #1111200: >> Hmmm >> >> I don't see any output of `which ruby`, probably missordered >> PATH-variable? >> Please check. >> >> HTH >> Norbert >> >> >> 2013/6/3 Alphonse 23 <li...@ruby-forum.com> > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/040ca355e0039df7c77efdcade29a540%40ruby-forum.com?hl=en-US. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvfgAb962E%2BF1kEemL9vKwA%2BWwf-7x_cc8zy9nr1PJhug%40mail.gmail.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.