Permalink
Browse files

Fix runs when rbenv has not access to current chef-runs $PWD

  • Loading branch information...
1 parent f8cf4c1 commit a60d4634a3cbefa86e3f6d18173604ae0b086541 Pierre Baillet committed Apr 5, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 libraries/chef_mixin_rbenv.rb
@@ -38,6 +38,7 @@ def rbenv_command(cmd, options = {})
default_options = {
:user => 'rbenv',
:group => 'rbenv',
+ :cwd => rbenv_root,
:env => {
'RBENV_ROOT' => rbenv_root
},

0 comments on commit a60d463

Please sign in to comment.