I'm trying to install rails on Ubuntu 9.10.
gem list --local *** LOCAL GEMS *** actionmailer (2.3.4, 2.3.2) actionpack (2.3.4, 2.3.2) activerecord (2.3.4, 2.3.2) activeresource (2.3.4, 2.3.2) activesupport (2.3.4, 2.3.2) rack (1.0.1) rails (2.3.4, 2.3.2) rake (0.8.7) sqlite3-ruby (1.2.5) rake The program 'rake' is currently not installed. You can install it by typing: sudo apt-get install rake rake: command not found
How do I solve this?
You need to add /var/lib/gems/1.8/bin to your PATH. Try this command:
export PATH=$PATH:$HOME/bin:/var/lib/gems/1.8/bin
After that rake should work.
You can add this line to your ~/.bashrc so that you don't have to type in this command each time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With