We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I set --disable-gems in my RUBYOPT variable.
--disable-gems
binding.irb causes a call to Gem.try_activate whenever the Gem constant is defined.
binding.irb
Gem.try_activate
Standalone bundles include a bundler/setup.rb file, which defines the Gem constant even when Rubygems isn't required.
bundler/setup.rb
Thus, for me, binding.irb doesn't work with standalone bundles.
No, because I can see that Bundler's implementation is still incorrect: https://github.com/rubygems/rubygems/blob/master/bundler/lib/bundler/installer/standalone.rb#L79-L97
export RUBYOPT=--disable-gems
bundler/setup
bundle install --standalone
binding.irb to work
binding.irb didn't work
bundle env
Not sure how to do this
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the problem as clearly as you can
I set
--disable-gems
in my RUBYOPT variable.binding.irb
causes a call toGem.try_activate
whenever the Gem constant is defined.Standalone bundles include a
bundler/setup.rb
file, which defines the Gem constant even when Rubygems isn't required.Thus, for me,
binding.irb
doesn't work with standalone bundles.Did you try upgrading rubygems & bundler?
No, because I can see that Bundler's implementation is still incorrect: https://github.com/rubygems/rubygems/blob/master/bundler/lib/bundler/installer/standalone.rb#L79-L97
Post steps to reproduce the problem
export RUBYOPT=--disable-gems
bundler/setup
from the standalone bundle, add abinding.irb
statementGem.try_activate
Which command did you run?
bundle install --standalone
What were you expecting to happen?
binding.irb
to workWhat actually happened?
binding.irb
didn't workIf not included with the output of your command, run
bundle env
and paste the output belowNot sure how to do this
The text was updated successfully, but these errors were encountered: