Set up my dev environment on ubuntu 13 (node.js, RoR, mysql)

This is just a basic blog; a guide to save time, while getting a new system up and ready for development.
1.) Install Ruby:
Install Ruby using RVM so you could manage different versions of ruby.

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
rvm install 2.0.0
rvm use 2.0.0 --default
ruby -v
//to tell ruby not to install documentation locally
echo "gem: --no-ri --no-rdoc" > ~/.gemrc

2.) Install Node

sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs

3.) Install Rails

gem install rails

4.) Install mySql

sudo apt-get install mysql-server mysql-client libmysqlclient-dev
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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