Ok so you want to start development in Ubuntu with Ruby/Rails, follow the instructions below and you well be coding in ruby in a few minutes!
Install RVM
RVM stands for Ruby Version Manager and its going to be your best friend when managing ruby versions an gems.
First we are going to install curl and then use it to install rvm:
1 2 |
|
To complete installation add the following line at the end of .bashrc
:
1
|
|
Close the current shell, open a new one and execute the following command, if installation was successful it should output: rvm is a function
1
|
|
Install Ruby 1.9.3
First install required dependencies:
1
|
|
And then install ruby:
1 2 |
|
Install Rails
This is the easiest part:
1
|
|
And you are ready to go!
If you get into any trouble, feel free to ask for help in the comments below.