Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
This is an example of how to use vagrant to setup a rails development environment with REE and Passenger
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
lib/tasks
public
script
test
vendor
.gitignore
.rvmrc
Gemfile
Gemfile.lock
README.markdown
Rakefile
Vagrantfile
config.ru

README.markdown

This is an example of how to use vagrant to setup a rails development environment with REE and Passenger.

Tested with:

Vagrant 0.7.2 and VirtualBox 4.0.2.

Usage:

Get VirtualBox.

Download and install vagrant:

git clone git://github.com/joakimk/vagrant_example.git
cd vagrant_example
gem install vagrant -v 0.7.2 

Create VM (this takes about 10-20 minutes and should look like this: https://gist.github.com/883748):

vagrant up

View the app:

echo "10.5.5.5 app.dev" | sudo tee -a /etc/hosts
open "http://app.dev/users"

Login and run tests:

vagrant ssh
rake

Gotchas

If you get an error like this: http://pastie.org/private/oz9zqqijksj8jx9cyk9pmw, try running vagrant reload.

Something went wrong with that request. Please try again.