ruby install

install rbenv

sudo apt-get install rbenv ruby-build

list available ruby versions

rbenv install --list

install ruby

rbenv install 2.2.3

set specific version to global

rbenv global 2.2.3

update gem

sudo gem update --system

install ruby-dev

sudo apt-get install ruby-dev

install rails

sudo gem install rails

create new rails app

rails new {app name} --skip-bundle

install dependency packages

cd {app dir}
bundle install --path=/vendor/bundle

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.