Using Vagrant and Chef for Reproducible, Isolated Rails Development Environments
1–10 of 21 posts
Re: Using Vagrant and Chef for Reproducible, Isolated Rails Development Environments
#2Re: Using Vagrant and Chef for Reproducible, Isolated Rails Development Environments
#3Re: Using Vagrant and Chef for Reproducible, Isolated Rails Development Environments
#4Just want to point out that if you're using an encrypted filesystem, vagrant up will fail if NFS is enabled. The workaround is to use rsync to maintain the synced folders, a feature introduced in Vagrant 1.5. Just use vagrant rsync-auto to keep the guest folder in sync automatically with your local folder. If you modify files within the VM (like with a bundle install that modifies your Gemfile.lock or with rails gene…
Re: Using Vagrant and Chef for Reproducible, Isolated Rails Development Environments
#5Re: Using Vagrant and Chef for Reproducible, Isolated Rails Development Environments
#6I tried using Vagrant on my company Macbook but found it much slower than just running everything on OSX. Does anyone have any tips for improving the performance?
Re: Using Vagrant and Chef for Reproducible, Isolated Rails Development Environments
#7I do however substitute chef for ansible as I found chef difficult to use on a single server (chef-solo was flakey) and bootstrapping is a pain.
For writing anisble playbooks to use with Vagrant I found the following post very useful - http://hakunin.com/six-ansible-practices
Re: Using Vagrant and Chef for Reproducible, Isolated Rails Development Environments
#8Re: Using Vagrant and Chef for Reproducible, Isolated Rails Development Environments
#9I may be missing something, but isn't this what Docker is for?
This not only avoids the "Dunno, works on my system" but also the "Dunno, works in dev/test"
Re: Using Vagrant and Chef for Reproducible, Isolated Rails Development Environments
#10This is pretty much what I do when developing as it's a good idea to make your dev environment as close to production as possible. I do however substitute chef for ansible as I found chef difficult to use on a single server (chef-solo was flakey) and bootstrapping is a pain. For writing anisble playbooks to use with Vagrant I found the following post very useful - http://hakunin.com/six-ansible-practices