Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

add rbenv-default-gems formula #17545

Closed
wants to merge 1 commit into from
Closed

add rbenv-default-gems formula #17545

wants to merge 1 commit into from

Conversation

jsallis
Copy link
Contributor

@jsallis jsallis commented Feb 2, 2013

Everything appears to work correctly as long as you put the default-gems file in the proper location. The README states:

rbenv-default-gems automatically installs the gems listed in the ~/.rbenv/default-gems 
file every time you successfully install a new version of Ruby with rbenv install.

In actuality, when installed via homebrew, the default-gems file must be placed in $RBENV_ROOT (which defaults to /usr/local/opt/rbenv instead of in ~/.rbenv to be picked up correctly. It's actually makes sense but since it might not be obvious to people, maybe this needs to be added as a caveat on the formula?

In the meantime, I've opened an issue rbenv/rbenv-default-gems#1 to see if the README could be clarified.

MikeMcQuaid added a commit that referenced this pull request Feb 6, 2013
MikeMcQuaid added a commit that referenced this pull request Feb 6, 2013
@MikeMcQuaid
Copy link
Member

Thanks for the contribution. In future please use one commit (or, ideally, one pull request) per formula, use the commit format I've used above and add any useful information like you have here as a caveat.

@jsallis
Copy link
Contributor Author

jsallis commented Feb 6, 2013

Thanks, I'll remember that for next time.

@jsallis
Copy link
Contributor Author

jsallis commented Feb 6, 2013

There's one issue with the caveats added in 79644e1. The default-gems file needs to be in /usr/local/opt/rbenv/ and not in /usr/local/opt/rbenv-default-gems/

@MikeMcQuaid
Copy link
Member

Ah, cheers.

@MikeMcQuaid
Copy link
Member

Fixed.

MikeMcQuaid added a commit that referenced this pull request Feb 6, 2013
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants