<< All Posts
How to install Ruby on Rails on Ubuntu 14.04


Hey guys! I was using the Amazon AWS Ubuntu 64 bits with t1.micro instance when I wrote this post.

sudo apt-get update
 sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev
 curl -L https://get.rvm.io | bash -s stable
 source ~/.rvm/scripts/rvm
 echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc
 rvm install 2.1.2
 rvm use 2.1.2 --default
 ruby -v
echo "gem: --no-ri --no-rdoc" > ~/.gemrc
sudo add-apt-repository ppa:chris-lea/node.js
 sudo apt-get update
 sudo apt-get install nodejs
gem install rails
 rbenv rehash
 rails -v



<< All Posts

rodolfo.io

🇧🇷 🇨🇦
Runs on OpenBSD 🐡