The steps below outlines installing Ruby On Rails as a normal user.
$sudo ls -a [sudo] password for unlimit: unlimit is not in the sudoers file. This incident will be reported.If you see a message like above, you will need to add the user to the sudoer file, this can be done by (you have to be logged in as root to do this)
$echo 'unlimit ALL=(ALL) ALL' >> /etc/sudoersNote that the above method is unsafe, but I was doing this on my own test installation and had no other user. It did not create any issues. Recommeded way is to use visudo
$ruby -v -[bash]: ruby:command not foundIf you see something like this, this means ruby is not installed. Install it
$sudo apt-get install ruby
$sudo apt-get install build-essential $sudo apt-get install curl $sudo apt-get install libssl-dev
$curl -L get.rvm.io | bash -s stable
$source $HOME/.rvm/scripts/rvmYou should add this to the .bashrc file.
$rvm get head && rvm reload
$rvm install 1.9.3 --with-openssl-dir=$HOME/.rvm.usr
$sudo apt-get install libreadline-dev
$gem install rails -v 3.2.3
$rails -v Rails 3.2.3
$rvm pkg install readline
$sudo apt-get install sqlite3 libsqlite3-dev
$rails new app HelloWorld