Learn Ruby
A sandbox for experimenting with the Ruby programming language.
Getting Started
-
Download and install dependencies:
- Vagrant, a tool for managing development environments
- VirtualBox, a tool for building and running virtual machines
-
Clone this repository, from the Git Shell on Windows or Terminal on Mac OS X:
$ git clone https://github.com/Pitt-CSC/learn-ruby.git -
Start the Vagrant machine:
$ vagrant upThe first time you start the VM, Ruby 2.1.3 will be installed on it. This will take a while -- be patient!
Usage
To use the sandbox, make the sure the VM is running:
$ vagrant up
Open a shell in the VM:
$ vagrant ssh
In the VM, the learn-ruby repository is mounted at /vagrant. Change into the /vagrant directory:
$ cd /vagrant