Install Ruby + Sinatra on Ubuntu LTS 12.04
Based on this tutorial.
Step One
Update aptitutde:
sudo apt-get update
Install curl:
sudo apt-get install curl
Get and install Ruby RVM
\curl -L https://get.rvm.io | bash -s stable
Reload Terminal session with RVM
source ~/.rvm/scripts/rvm
Install RVM requirements
rvm requirements
Step Two Install Ruby
rvm install ruby
Set Ruby to default version
rvm use ruby --default
Step Three Install Ruby Gems
rvm rubygems current
Step Four Install Sinatra
gem install sinatra
Written by Antonio Lettieri
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#