Hi,
I'm using Vagrant 1.8.1 on OSX with Virtualbox 5.0.20, plus ansible to provision the boxes. When running a Ruby on Rails 4.2 app within the guest from the shared folder, Rails creates a lot of files and IO underneath $RAILS_ENV/tmp/ and $RAILS_ENV/log/ In particular sprockets and sass are using those paths for caching.
These changes are always synced back and forth when using vboxfs sharing. Running Rails like that is a lot slower than running it directly on my machine, by order of an magnitude.
Using NFS for sharing will speed things up considerably. However it doesn't solve the problem but makes it less visible. A clean solution would
* exclude certain paths from syncing, or
* instruct Rails to use different tmp and log paths while running in a vagrant guest.
Has anybody had any luck with either one, or maybe come up with a different solution? Regards
Christian