Skip to content

Building a Ubuntu 12.04 LTS Dev VM

Nicholas Martin edited this page Feb 23, 2014 · 19 revisions

Installing Ubuntu on a VM

  1. Install VirtualBox.
  2. Download the Ubuntu 12.04 LTS (x64) iso.
  3. Create a Ubuntu (x64) VM with the iso mounted. It can be mounted from storage.
  4. Boot the VM. It may take a bit to get going.
  5. Go through the Ubuntu installation. Don't install the updates or 3rd party additions.
  6. Install the 3rd party guest additions.
  7. Restart. You should be able to have a decent resolution now.

Install Ruby

You want RVM to do this, period. Watercooler currently runs Ruby 2.0.

  1. Install curl. sudo apt-get install curl
  2. Make the terminal work as a real login shell. See here.
  3. Install RVM. \curl -sSL https://get.rvm.io | bash -s stable
  4. Make RVM a thing. source ~/.bashrc
  5. Install our specific version of Ruby. rvm install ruby-2.0.0-p353

You may need to enter your password a few times.

Install git and clone the project

  1. Install git. sudo apt-get install git
  2. You need to make a new ssh key and add it to your github profile. See Generating SSH Keys

Getting Rails operational

  1. Install rubygems. sudo apt-get install rubygems
  2. Install bundler with rubygems. `sudo gem install bundler'
  3. Install Rails plus all of our other dependencies with bundler. bundle install

Clone this wiki locally