Skip to content

Set RBENV_ROOT#136

Merged
rstacruz merged 1 commit intomina-deploy:masterfrom
trkoch:rbenv
Aug 30, 2013
Merged

Set RBENV_ROOT#136
rstacruz merged 1 commit intomina-deploy:masterfrom
trkoch:rbenv

Conversation

@trkoch
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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