Skip to content

salimane/vagrant-rails-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Set up my vagrant rails development box

Installation

mkdir -p $HOME/src && cd $HOME/src
git clone https://github.com/salimane/vagrant-rails-dev.git
cd vagrant-rails-dev/
bundle install
cd puppet && librarian-puppet install
vagrant up
vagrant provision
vagrant ssh

Installed components

  • zsh
  • nginx
  • sysctl configurations for lot of connections
  • rvm + ruby 2.1.5 + 'bundle' gem
  • mysql server
  • postgresql
  • redis
  • memcached
  • heroku toolbelt
  • weighttp

Hints

Provisioning

To provision again in case of update or errors while the virtual machine is already up, use:

vagrant provision

It just runs puppet to apply manifests without restarting the virtual machine.

Restart Virtual Machine

To restart the virtual machine, use:

vagrant halt && vagrant up

or

vagrant reload

Startup speed

To speed up the startup process after the first run, use:

vagrant up --no-provision

It just starts the virtual machine without provisioning of the puppet recipes.

Rebuild

If you messed up your box or for whatever reasons, you want to start fresh, destroy the box and build again, simply use:

vagrant destroy && vagrant up

It will delete the entire virtual machine and build it from scratch again.

About

my vagrant rails development box

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published