How to deploy rails 3.1 app on heroku Cedar stack

Linux tips: Check whether the mongrel port 3000 is open

Linux tips: How To Search Shell Command History

How to Install Ruby 1.9.2 and Rails 3.0 on Ubuntu

Most of the developers still use package managers to install ruby. This approach works, but most of the times it leads to dependency issues every now and then. Usually I don't use package managers to install ruby, instead I use ruby version manager (RVM) by wayneeseguin

In this post I'm going to install ruby 1.9.2 on Ubuntu with the help of rvm.

Usually I use "aptitude" to install packages as It's a better way to track the dependencies. If you don't have it installed on your system, you can get it by executing these command on a shell prompt.

Great everything is ready for you now. Have fun with rails 3.

How to unzip bz2 files

tar --use-compress-program bzip2 -xvf your-file-name.tar.bz2