Skip to content
This repository

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…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 Vagrantfile
Octocat-spinner-32 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.