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

feat: Modify install_rubygems_hook to place plugin in site_ruby directory #3812

Merged
merged 1 commit into from
Dec 25, 2024

Conversation

zkhadikov
Copy link
Contributor

To avoid setting the RUBYLIB environment variable, the rubygems_plugin.rb file is now placed in the site_ruby directory within the Ruby installation. This change ensures that Ruby automatically loads the plugin.

  • Updated install_rubygems_hook method to place the plugin in the site_ruby directory.
  • Created the necessary directory structure if it does not exist.
  • Wrote the rubygems_plugin.rb file to the site_ruby directory.

…tory

To avoid setting the RUBYLIB environment variable, the rubygems_plugin.rb file is now placed in the site_ruby directory within the Ruby installation. This change ensures that Ruby automatically loads the plugin.

- Updated install_rubygems_hook method to place the plugin in the site_ruby directory.
- Created the necessary directory structure if it does not exist.
- Wrote the rubygems_plugin.rb file to the site_ruby directory.
@jdx jdx merged commit 7a13356 into jdx:main Dec 25, 2024
18 checks passed
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

Successfully merging this pull request may close these issues.

2 participants