Skip to content
New issue

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

Set RBENV_ROOT #136

Merged
merged 1 commit into from
Aug 30, 2013
Merged

Set RBENV_ROOT #136

merged 1 commit into from
Aug 30, 2013

Conversation

trkoch
Copy link
Contributor

@trkoch trkoch commented Aug 20, 2013

Otherwise rbenv init initializes with default location, i.e. gem
binaries cannot be found.

Otherwise rbenv init initializes with default location, i.e. gem
binaries cannot be found.
@trkoch
Copy link
Contributor Author

trkoch commented Aug 20, 2013

A temporary workaround is to set RBENV_ROOT in the environment task, right before loading rbenv, like this:

task :environment do
  queue %{export RBENV_ROOT="#{rbenv_path}"}
  invoke :'rbenv:load'
end

@rstacruz
Copy link
Member

Good catch!

rstacruz added a commit that referenced this pull request Aug 30, 2013
@rstacruz rstacruz merged commit 31dfc59 into mina-deploy:master Aug 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants