We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was having problems using rbenv with mina when it was installed system-wide (with fnichol's rbenv::system recipe).
I have set :rbenv_path, '/usr/local/rbenv' set in deploy.rb and an queue echo_cmd %{echo $PATH} before invoke :'bundle:install'.
set :rbenv_path, '/usr/local/rbenv'
deploy.rb
queue echo_cmd %{echo $PATH}
invoke :'bundle:install'
$ echo $PATH /home/vagrant/.rbenv/shims:/usr/local/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games -----> Installing gem dependencies using Bundler $ mkdir -p "/srv/myapp/shared/bundle" $ mkdir -p "./vendor" $ ln -s "/srv/myapp/shared/bundle" "./vendor/bundle" $ bundle install --without development:test --path "./vendor/bundle" --binstubs bin/ --deployment bash: line 118: bundle: command not found ! ERROR: Deploy failed.
To get rbenv to work, I set queue %{export RBENV_ROOT=#{rbenv_path}} before invoke :'rbenv:load'. Then I get:
queue %{export RBENV_ROOT=#{rbenv_path}}
invoke :'rbenv:load'
$ echo $PATH /usr/local/rbenv/shims:/usr/local/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games -----> Installing gem dependencies using Bundler $ mkdir -p "/srv/myapp/shared/bundle" $ mkdir -p "./vendor" $ ln -s "/srv/myapp/shared/bundle" "./vendor/bundle" $ bundle install --without development:test --path "./vendor/bundle" --binstubs bin/ --deployment Using rake (10.0.3) ...
The text was updated successfully, but these errors were encountered:
Awesome, thank you! This is exactly the same issue I was running into with my system-wide rbenv installation.
Sorry, something went wrong.
This was fixed by #117.
No branches or pull requests
I was having problems using rbenv with mina when it was installed system-wide (with fnichol's rbenv::system recipe).
I have
set :rbenv_path, '/usr/local/rbenv'
set indeploy.rb
and anqueue echo_cmd %{echo $PATH}
beforeinvoke :'bundle:install'
.To get rbenv to work, I set
queue %{export RBENV_ROOT=#{rbenv_path}}
beforeinvoke :'rbenv:load'
. Then I get:The text was updated successfully, but these errors were encountered: