Skip to content

Commit 763b431

Browse files
committed
Set RBENV_ROOT
Otherwise rbenv init initializes with default location, i.e. gem binaries cannot be found.
1 parent 4960438 commit 763b431

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/mina/rbenv.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
task :'rbenv:load' do
3434
queue %{
3535
echo "-----> Loading rbenv"
36+
#{echo_cmd %{export RBENV_ROOT="#{rbenv_path}"}}
3637
#{echo_cmd %{export PATH="#{rbenv_path}/bin:$PATH"}}
3738
3839
if ! which rbenv >/dev/null; then

0 commit comments

Comments
 (0)