Linux
In this section we will cover the steps required to setup your development environment on Ubuntu 14.04
If you haven't already, grab a copy of Ubuntu 14.04 here and install it on your computer.
Installing Ruby
First thing we want to do is make sure our system has the latest updates and security patches. We will also install some dependencies for Ruby.
Next we are going to install Ruby Version Manager (RVM). RVM
will allow us to install and manage multiple versions of Ruby in our environment. We first have to download the author's public key to ensure we're downloading the correct packages.
If for some reason the above command fails try the following:
We can now install RVM
on our system.
Now that we have RVM
installed, let's install ruby.
Now we need to tell Rubygems
to skip documentation while installing packages (gems
) locally.
Lastly we need to install bundler
Git configuration
Git
is a version control system we will be using throughout the course.
Next, let's tell git who we are.
Atom
At the beginning of the course (week 1 - 6) we'll be using a text editor to write code. There are many editors out there we can use. Sublime is one, TextMate is another, but our editor of choice for this course is Atom. It is brought to us by the good people of GitHub and comes with over 3000 extension packages - all open sourced.
"Atom is a text editor that's modern, approachable, yet hackable to the core — a tool you can customize to do anything but also use productively without ever touching a config file." - https://atom.io
Download and install Atom by following the instructions on their web site. Once you are done you can browse around for some packages you might find useful. Or you wait with that until you actually know what 'useful' is in the context of coding. If you want to find out more about how to install Atom packages head over to the excellent documentation site. Also, read through this blog post about some Atom extensions that might prove useful: http://www.sitepoint.com/10-essential-atom-add-ons/
For now, what you really want to do is to set Atom as the default editor fir Git (trust me, you'll going to need it):
Wrap
This should do for now. We will install the rest of packages we need as we progress through the course.
Last updated