Skip to content

jeremykendall/rails-dev-box

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Virtual Machine for Ruby Development

Introduction

This is my fork of the excellent rails-dev-box. I required an environment to play with Sinatra, stole theirs, and have tweaked it to meet my needs. This is my own playground: Feel free to use it, but do so at your own risk.

Requirements

How To Build The Virtual Machine

Building the virtual machine is this easy:

host $ git clone https://github.com/jeremykendall/rails-dev-box.git host $ cd rails-dev-box host $ vagrant up 

That's it.

After the installation has finished, you can access the virtual machine with

host $ vagrant ssh Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic-pae i686) ... vagrant@rails-dev-box:~$ 

What's In The Box

  • Git

  • RVM

  • Ruby 2.0.0 (binary RVM install)

  • Sinatra

  • Shotgun

  • Thin

  • Bundler

  • SQLite3, MySQL, and Postgres

  • System dependencies for nokogiri, sqlite3, mysql, mysql2, and pg

  • Databases and users needed to run the Active Record test suite

  • Node.js for the asset pipeline

  • Memcached

Virtual Machine Management

When done just log out with ^D and suspend the virtual machine

host $ vagrant suspend 

then, resume to hack again

host $ vagrant resume 

Run

host $ vagrant halt 

to shutdown the virtual machine, and

host $ vagrant up 

to boot it again.

You can find out the state of a virtual machine anytime by invoking

host $ vagrant status 

Finally, to completely wipe the virtual machine from the disk destroying all its contents:

host $ vagrant destroy # DANGER: all is gone 

Please check the Vagrant documentation for more information on Vagrant.

About

A virtual machine for Ruby on Rails core development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 51.7%
  • Puppet 29.8%
  • Ruby 18.5%