Forum: Ruby Unable to do rake command because of Ruby

F903451cad77a19752bbac6f94b0b303?d=identicon&s=25 Dan Distraff (distraff)
on 2013-09-01 23:56
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?
5a837592409354297424994e8d62f722?d=identicon&s=25 Ryan Davis (Guest)
on 2013-09-02 00:31
(Received via mailing list)
gem pristine rake
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.