Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.35 KB

setting-up-your-workstation.adoc

File metadata and controls

45 lines (28 loc) · 1.35 KB

Setting Up Your Workstation

In this tutorial, we will:

  1. Setup a Terminal

  2. Setup a Text editor

Linux RVM procedure

MacOSX RVM procedure

RVM is a Ruby installation and version manager. RVM works by installing Ruby inside your home directory and manages the environment variables to allow you to switch between the system-wide Ruby and any Ruby installed using RVM.

To install RVM, you first need to install XCode. XCode is available on the Mac OS X Install DVD. After installing XCode, perform a software update ( ▸ Software Update…​).

Install git, using either Homebrew (as described above) or the installer for Mac OS X.

Install RVM along with the latest version of Ruby:

$ \curl -#L https://get.rvm.io | bash -s stable --autolibs=3 --ruby
Note
RVM will download and build the Ruby language, install RubyGems along with several essential gems and configure your PATH environment variable.

Source your shell configuration (only necessary in the window you used to install RVM):

$ source $HOME/.bash_profile

Remove your local Gem configuration, if you have one (or move it out of the way):

$ rm -f $HOME/.gemrc

Windows RVM procedure