I am trying to get Michael Hartle's Rails tutorial . I spent a lot of time with various libraries. So I uninstalled all ruby โโsoftware from my Ubuntu 10.4 system.
Then I installed Ruby 1.9.2.
$ ruby -v ruby 1.9.2dev (2010-07-02) [i486-linux]
So far so good. Then i did
sudo gem install rails
After a long time, he completed the installation. Then i ran
$ rails -v bash: /usr/bin/rails: /usr/bin/ruby1.8: bad interpreter: No such file or directory
So ... I don't have / usr / bin / ruby โโ1.8 on my system. How to get Rails 3.0.3 to use my ruby โโin / usr / bin / ruby?
I appreciate any help you can give me.
Just to see if I can continue, I tried
$ cd /usr/bin $ sudo ln -s ruby1.9.2 ruby1.8
This allows me to continue, but is it right to do it?
ruby-on-rails-3
Jay godse
source share