Vagrant Passenger Centos
Automated build of environment running CentOS 5.5 with Phusion Passenger to run Rails Applications
Requirements
- VirtualBox 4.0.4 or higher
- Ruby 1.9.2
- Vagrant
- Rails 3.0.6
Create a rails app
- vagrant up
- cd data/railsapp
- rails new . --skip-git
- rails generate scaffold Post name:string title:string content:text
- rake db:migrate RAILS_ENV=production
- go to http://localhost:8080/rails/posts