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 #81

Merged
merged 2 commits into from
Jul 30, 2020
Merged

Set RBENV_ROOT #81

merged 2 commits into from
Jul 30, 2020

Conversation

sjcqs
Copy link
Contributor

@sjcqs sjcqs commented Jul 29, 2020

fix #80

In the Dockerfile, RBENV_HOME was set instead of RBENV_ROOT. By default, rbenv uses "$HOME/.rbenv".
Github Actions changes $HOME thus rbenv wasn't able to access our setup.

A test was added to ensure the fix works.

s.jcqs added 2 commits July 29, 2020 16:57
RBENV_HOME does not exist and won't be used by rbenv. Github action changes
the HOME env variable so rbenv plugins are not available anymore.
Using RBENV_ROOT tells rbenv where its config files are
@sjcqs sjcqs added the bug Something isn't working label Jul 29, 2020
@vincentbrison vincentbrison merged commit 123daec into develop Jul 30, 2020
@vincentbrison vincentbrison deleted the feature/set_rbenv_root branch July 30, 2020 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot install new ruby version with rbenv
2 participants