Ubuntu 14.04 install aimed for Ruby on Rails development
Switch branches/tags
Nothing to show
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 chef

Ubuntu 14.04 install aimed for Ruby on Rails development.

This box (with chef provisioner) start with a basic Ubuntu 14.04 (trusty) based on ubuntu/trusty64 and it adds the following packages aimed for rails development:

  • rvm
  • ruby 2.1.4 and 2.2.0
  • Git 1.9.1
  • Postgresql 9.3 and SQLite
  • Node.js
  • ImageMagick


####This setup is based and tested with Ubuntu Trusty 64 bit base box, with Vagrant 1.7.0 version and VirtualBox 4.3.20.

$ git clone https://github.com/denys281/vagrant-rails-chef.git

  • Install librarian-chef gem

$ gem install librarian-chef

  • Install cookbooks

$ librarian-chef install

  • run vagrant (for the first time it should take up to 10-15 min) $ vagrant up

  • Web server is accessible with (IP address can be changed in Vagrantfile)

  • You can add you deploy ssh keys to data_bags/ssh_keys.json

  • Vagrant automatically create user for Postgres :


  • Username: postgres
  • Password: postgres

Vagrant use 1/4 system memory & access to all cpu cores on the host

If needed, you can customize config.vm.provision script according to your app specifics, in such case just run vagrant provision in order to reload all scripts.

You can run vagrant -h to see some handy vagrant commands