1). Install RVM $ sudo apt-get install curl $ curl -L https://get.rvm.io | bash -s stable --ruby (Refer https://rvm.io/rvm/install/) $ source /home/sodel/.rvm/scripts/rvm ( enable rvm) This installs latest stable ruby. To install another version run rvm install <ruby version.number> 2) rvm install 1.9.3 (it will install ruby 1.9.3) 3)rvm use 1.9.3(to use latest version of ruby) 4)Start installing gems Ex: (gem install bundle) 5)bundle install(for all gems) Install RVM
$ sudo apt-get install curl $ curl -L https://get.rvm.io | bash -s stable --ruby (Refer https://rvm.io/rvm/install/) $ source /home/sodel/.rvm/scripts/rvm ( enable rvm)
This installs latest stable ruby. To install another version run rvm install
rvm install 1.9.3(it will install ruby 1.9.3)rvm use 1.9.3(to use latest version of ruby)Start installing gems Ex:
gem install bundlebundle install(for all gems)