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

Have an official location for system-wide user-installed plugins #24

Open
westonganger opened this issue Oct 2, 2019 · 2 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@westonganger
Copy link

Is it recommended to add plugins to /usr/lib/rbenv/plugins or will this be overwritten at some point? It may be helpful to mention this in the docs.

@FooBarWidget FooBarWidget changed the title Where is the recommended location to place plugins Make /usr/lib/rbenv/plugins official Oct 3, 2019
@FooBarWidget FooBarWidget changed the title Make /usr/lib/rbenv/plugins official Have an official location for user-installed plugins Oct 3, 2019
@FooBarWidget
Copy link
Member

FooBarWidget commented Oct 3, 2019

Right now it will not be overwritten. But you raise a good point: there should be an official location for system-wide user-installed plugin.

In my opinion, /usr/lib/rbenv/plugins should be reserved for OS-package-manager-provided rbenv plugins. User-installed plugins should be looked up from elsewhere; I think /usr/local/lib/rbenv/plugins is preferred.

Implementing this would require a change in fullstaq-rbenv. It's tracked by this issue: fullstaq-ruby/rbenv#2

@FooBarWidget FooBarWidget added enhancement New feature or request good first issue Good for newcomers labels Oct 4, 2019
@FooBarWidget FooBarWidget changed the title Have an official location for user-installed plugins Have an official location for system-wide user-installed plugins Oct 4, 2019
@FooBarWidget
Copy link
Member

Actually I double checked the behavior. Currently fullstaq-rbenv does not even look in /usr/lib/rbenv/plugins. Instead, it only looks in $HOME/.rbenv/plugins.

So right now, adding plugins to /usr/lib/rbenv/plugins has no effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants