Installing rails made easy

Posted by tobi — 02:00 PM Jun 17

Many webhosts are starting to offer fastcgi as more and more customers are moving to rails and similar projects. There is hope that the mod_’s will die out as fastcgi can provide the same services in a simpler, faster, memory saving and flexible manner.

Today I read that dreamhost enabled fastcgi service for their shared customers. One problem with shared servers is that you don’t have a lot of influence on the installed ruby and rails version. To fix this they offer a very nice script which installs ruby and rails locally in your home directory for you.

I expanded this script a bit and made it more general purpose. So if you are thinking of installing rails and ruby on a shell go ahead and type:

curl http://home.leetsoft.com/dropbox/private-ruby/install | sh

This will get you ruby 1.8.2 the latest ruby gems, the latest rails version as well as the gems with the C versions of fcgi and mysql.

Hope that helps.

Comments