- Install curl
If you are running Ubuntu or any debian based distro run
sudo apt-get install curl
- Install rvm
$ \curl -L https://get.rvm.io | bash -s stable --ruby
- Run command as login
Follow this link to enable this feature then restart your terminal before proceeding
- Install nodejs
sudo apt-get install nodejs
- Install nokogiri and bundler gems
rvm gemset list
confirm that global and default gemsets are present
rvm gemset use global
$ echo "gem: --no-document" >> ~/.gemrc
gem install bundler
gem install nokogiri
- If you planing on using postgresql on local machine
sudo apt-get install libpq-dev
gem install pg
- Create new rails application
rails new hello_app