Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


Builds a Rails environment and site on top of a Vagrant vm. This repo can be used as is to get a Rails site up and running quickly or as a template for your own Rails projects.

It provides rvm preinstalled as the vagrant user, with bundle and rake already installed.



  1. Start on the host by provisioning and logging into a vm:

    host$ git clone git://
    host$ cd vagrant-rails
    host$ librarian-chef install
    host$ vagrant up
    host$ vagrant ssh
  2. Then build and install a drupal site on the vm:

    vm$ cd /vagrant
    vm$ bundle init


By default the remote origin is the github vagrant-rails. It is designed to function after you clone it for development and testing purposes. This means you can commit to your local repository and track upstream changes. This is useful for single user development workflow. However we also kept in mind people work on teams and need to share these repositories for each project they are working on. To do this we recommend the following.

  • Rename the remote origin: git remote rename origin github
  • Create your bare repo
  • Add your own remote origin: git remote add origin [your_repo_name]
  • Set your master to the remote origin: git config branch.master.remote origin
  • Push your changes to your bare repo: git push origin master

If you are cloning directly from your repo it won't contain the original github project. In that case, you will need to add the upstream remote: git remote add github git://

It is common to modify the Vagrantfile. We encourage you to read through the comments in the Vagrantfile as well as the official Vagrant documentation for other possible configurations.


Maintained by xforty technologies

Something went wrong with that request. Please try again.