bundle install --deployment2012/5/18 Justin Louie < " target="_blank"> >
Hi All,I've tried to no avail to make bundle install work on a Vagrant box. Currently the process is:
- Get ruby using ruby_build OR direct compile and install
- Obtain code from git via deploy.
- Run recipe:
The response is usually "Errno::EACCES: Permission denied - /root/.bundler". All the tinkering of settings won't allow me to properly run bundle install. I've triedscript "bundler install" dointerpreter "bash"user "ubuntu"cwd deploy_dir + "/current"code <<-EOHbundle installEOHend
- --path
- different users
- ruby_build vs rvm vs direct compile and install
If I login to ubuntu or vagrant and run bundle install manually, everything works great.Any help would be much appreciated as I've been banging my head against this for the past 6 hours.Chef is 0.10.8Ruby is 1.9.3-p194Thanks!Justin
Archive powered by MHonArc 2.6.16.