On Sun, Sep 1, 2013 at 4:54 PM, Dan Distraff <lists@ruby-forum.com> wrote:
> Previously I have been trying to install ruby and rails and used apt-get
> at one point. I did install previous versions of ruby and rails by
> mistake which I had to correct. Now I used rvm to install ruby 2.0.0
> and rails 4.0.0 but when I try to run the rake command I get:
>
> /usr/bin/env: ruby1.9.1: No such file or directory
>
>
> The problem here seems to be is that my system is looking for something
> for ruby1.9.1 when I am using ruby 2.0.0. What is going on here?
Reload your shell by restarting your emulator and do "rvm use 2.0.0"
then "which rake" and report back to us what you get at that point,
telling us it's looking for something in 1.9.1 doesn't tell us much
because that could be anything from a rbenv install that went back to
left over remains of system 1.9.1 or a bug in RVM (probably not.) or
that you simply forgot to restart your shell and follow the directions
supplied by RVM when you installed it.
--
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/CAM5XQnxvEZe0u1f_pxwKVmO%2Bxti-uizOs31Fup6YftwJu_vE8w%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment