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

Support reading default gems from $HOME/.default-gems file #17

Open
leomao10 opened this issue Jan 26, 2020 · 1 comment
Open

Support reading default gems from $HOME/.default-gems file #17

leomao10 opened this issue Jan 26, 2020 · 1 comment

Comments

@leomao10
Copy link

This is a proposal to make the support of default gems to be more consistent.

As current status:

  • asdf-ruby using $HOME/.default-gems
  • rvm-ruby using default/global gemsets in multiple locations:
    • ~/.rvm/gemsets/ree/1.8.7/p2010.02/global.gems
    • ~/.rvm/gemsets/ree/1.8.7/p2010.02/default.gems
    • ~/.rvm/gemsets/ree/1.8.7/global.gems
    • ~/.rvm/gemsets/ree/1.8.7/default.gems
    • ~/.rvm/gemsets/ree/global.gems
    • ~/.rvm/gemsets/ree/default.gems
    • ~/.rvm/gemsets/global.gems
    • ~/.rvm/gemsets/default.gems
  • rbenv-default-gems using $(rbenv root)/default-gems

Just like .ruby-version, shall we have a consistent place for default gems setting?

@macarthy
Copy link

And support https://wiki.archlinux.org/title/XDG_Base_Directory so the default gems config chould be in ~/config/rbenv/default-gems (XDG_CONFIG_HOME). and the rbenv could install in XDG_DATA_HOME

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

No branches or pull requests

2 participants