Make up to date Development machine For Ruby on Rails

1) Install Ruby On Rails

2) Install Sublime

3) just cut/paste following line: (RVM IS NOT A FUNCTION ERROR)

To permanently resolve this just put following line:

[[ -s “$HOME/.rvm/scripts/rvm” ]] && source “$HOME/.rvm/scripts/rvm”

into: ~/.bash_profile, ~/.bashrc and in ~/.profile file

4) Install MySQL

5) Install git & Configuring git

sudo apt-get install git

Configuring git

git config –global “YOUR NAME”
git config –global “”



6) Install PostgreSQL

Setting Up PostgreSQL

For PostgreSQL, we’re going to add a new repository to easily install a recent version of Postgres 9.3.

sudo sh -c “echo ‘deb precise-pgdg main’ > /etc/apt/sources.list.d/pgdg.list”
wget –quiet -O – | sudo apt-key add –
sudo apt-get update
sudo apt-get install postgresql-common
sudo apt-get install postgresql-9.3 libpq-dev

The postgres installation doesn’t setup a user for you, so you’ll need to follow these steps to create a user with permission to create databases. Feel free to replace chris with your username.

sudo -u postgres createuser chris -s

# If you would like to set a password for the user, you can do the following
sudo -u postgres psql
postgres=# \password chris


7) Install Redis Server

8) Install ImageMagick

9) Set up Sublime for Rails Environment

Package Controll:

User Pref:

For ERB:

For .rb and .erb:

then: gem install htmlbeautifier

type: which ruby

set that path in preferences > package settings > beautify ruby > settings default

type: “ruby”: “/home/user_name/.rvm/rubies/ruby-1.9.3-p551/bin/ruby”,

10) Install Java

sudo apt-get update

sudo apt-get install default-jdk

11) Install DBeaver – Free Universal SQL Client

12)  Chrome Extension


Leave a Reply

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

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

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s