I wanted to install ruby 1.9.1 instead of the older version so I ran this command on Ubuntu:
sudo apt-get install ruby1.9.1-full
After the install was complete, I got the following error(s):
WARNING: Installing to ~/.gem since /var/lib/gems/1.9.1 and /var/lib/gems/1.9.1/bin aren't both writable. WARNING: You don't have /home/brooks/.gem/ruby/1.9.1/bin in your PATH, gem executables will not run.
When I run "ruby -v" (without the quotes) I get the following response:
bash: /usr/bin/ruby: No such file or directory
So my questions are: 1) Why is it so difficult to install ruby, 2) How can I resolve this problem?
Thank you for your help!
Br