Skip to content

Latest commit

 

History

History
42 lines (22 loc) · 826 Bytes

linux.md

File metadata and controls

42 lines (22 loc) · 826 Bytes

Installing rails

  1. Install curl

If you are running Ubuntu or any debian based distro run

sudo apt-get install curl

  1. Install rvm

$ \curl -L https://get.rvm.io | bash -s stable --ruby

  1. Run command as login

Follow this link to enable this feature then restart your terminal before proceeding

  1. Install nodejs

sudo apt-get install nodejs

  1. 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

  1. If you planing on using postgresql on local machine

sudo apt-get install libpq-dev

gem install pg

  1. Create new rails application

rails new hello_app