Howto install rails on Ubuntu 8.04 LTS Server
If you have Ubuntu 8.04 LTS Server and you are installing rails from gem, you most propbably will run into the problem when rack will need thin and thin will need rack and this will create infinitive loop. There is a very simple and fast fix for it. All you have to do is update RubyGems. Please keep in mind that update will remove all your installed gems and you will have to install it once again.
sudo gem update --system
Then you have to remove old gem file from /usr/bin and link it to newer one.
1 2 | sudo mv /usr/bin/gem /usr/bin/gem.bak sudo ln -s /usr/bin/gem1.8 /usr/bin/gem |
After that you should be able to install Rails with following command:
sudo gem install rails
Happy coding!