- Install via RVM(Ruby version manager)
install RVM
-sudo apt-get install curl
- gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
-\curl -sSL https://get.rvm.io | bash -s stable
Load RVM
source ~/.rvm/scripts/rvm
Check RVM Requirements
-rvm requirements
- Install ruby
rvm install ruby
rvm --default use 2.1.2(latest version)
Notes: for the step 2, The terminal should is enabled to run the command gnome-terminal more info: https://rvm.io/integration/gnome-terminal
- Install ruby Gems
rvm rubygems current
- Install Ruby on rails
gem install rails
apt-get install nodejs(distributions based on Debian)