RVM Ruby 2.2.0 Rails 4.2 Install and Setup - leebalaji1234/poc GitHub Wiki
RVM + Ruby + Rails Installation
sudo apt-get install curl
curl -sSL https://rvm.io/mpapis.asc | gpg --import
\curl -sSL https://get.rvm.io | bash -s stable
source /home/XXXX/.rvm/scripts/rvm
echo "source $HOME/.rvm/scripts/rvm" >> ~/.bash_profile
rvm install ruby-2.2.0
rvm --default use ruby-2.2.0
rvm use [email protected] --create
gem install rails
if error raise => "ActionView::Template::Error (Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes." install below
sudo apt-get install nodejs