Ruby on Rails
Monday, June 3, 2013
"Also, when I type in `which ruby` it freezes the console. "
I think whatever ruby you think you're running is damaged. Based on the rails output about needing 2.0 but having 1.8.7 I guessing you'ld be well served by uninstalling 2.0 and redoing the install. How about if you type "ruby --version" in your console, does that also hang?
On Monday, June 3, 2013 6:07:09 PM UTC-4, Ruby-Forum.com User 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.
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+unsubscribe@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/89743c59-1659-4c7f-bcb6-245685bb6feb%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment