Skip to content

Latest commit

 

History

History
66 lines (44 loc) · 2.07 KB

README.md

File metadata and controls

66 lines (44 loc) · 2.07 KB

ruby@uniovi

ruby@uniovi is a 2-day workshop @ University of Oviedo (4th-6th March 2015)

This project contains the workshop's virtualized development environment by means of a Vagrant Box.

Software requirements

Install instructions

git clone https://github.com/ruby-uniovi/rubyeii.git
cd rubyeii
vagrant up
vagrant reload

After a while, this should open a Lubuntu session in a new window. You may login as vagrant/vagrant.

One way to check that the box provisioning has been completed is to run the test suite of one of the projects. By example, issue the following commands from the command line (Ctrl+Alt+T / LXTerminal icon @ desktop)

cd /vagrant/projects/jukebox-sinatra
bundle && bundle exec rspec

You should got 0 failures, being ready to start exploring the workshop material:

Usage

For regular usage do vagrant up, for ssh only work you can also do:

GUILESS=1 vagrant up
vagrant ssh

Known issues

vagrant up takes time. If the download is interrupted, and you try to run the command again, chances are that you'll get an error message like the following one:

"HTTP server doesn't seem to support byte ranges".

If that's the case, please refer to hashicorp/vagrant#4479

WTF?

Vagrant is a nice piece of software which allows the creation and configuration of virtual development environments.

Why should you care about this?

Cyril Rohr makes a good job explaining it in his talk Virtualize your development environments with Vagrant & Puppet.