Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Vagrant Rails App Starter

A Ruby on Rails project starter, utilizing a Vagrant VM (default: Ubuntu 12.04 Precise Pangolin 32-bit) provisioned with Chef Solo.

Cookbooks included:



Clone it into your project folder.

$ git clone [project-name]
$ rm -rf .git

Open the vagrant/Vagrantfile and modify proj-name instances to the name of your project. Modify the Node.js and Ruby versions you would like installed in the chef.json attributes. Additionally, list any additional gems you would like installed in the gems array. See chef-rbenv documentation for more details on rbenv configuration.

$ vagrant plugin install vagrant-librarian-chef
$ cd vagrant
$ vagrant up
$ vagrant ssh
$ cd proj-name
$ sudo rails new .
Overwrite /home/vagrant/proj-name/.gitignore? (enter "h" for help) [Ynaqdh] y
$ rails server

If the above fails when running the sudo rails new . command, try running sudo bundle install and then run rails new . again.

After running the above commands you should be able to browse to http://locahost:3000/ and see the rails "Welcome aboard" page. Changes to files via the host machine will immediately be updated on the guest VM as well.

Now get in there and build something awesometronic with Ruby on Rails!

Optional (But Pretty Great)


  • Keep Vagrant VM's VirtualBox Guest Additions up to date with vagrant-vbguest plugin. Install this on the host machine.

    $ vagrant gem install vagrant-vbguest
You can’t perform that action at this time.