Undefined Method 'Plain_Specs' for #<Bundler::Rubygemsintegration:0X00005633F09A9000> (Nomethoderror)

undefined method `plain_specs' for # Bundler::RubygemsIntegration:0x00005633f09a9000 (NoMethodError)

gem uninstall rubygems-bundler

works for me
I am using bundler 2.1.0

REF: https://github.com/bundler/bundler/issues/7492

When showing

ERROR:  While executing gem ... (Gem::InstallError)
rubygems-bundler is not installed in GEM_HOME, try:
gem uninstall -i /Users/xxxx/.rvm/rubies/ruby-2.5.7/lib/ruby/gems/2.5.0 rubygems-bundler

Please run

gem uninstall -i /Users/xxxx/.rvm/rubies/ruby-2.5.7/lib/ruby/gems/2.5.0 rubygems-bundler

Custom Gem execution fails with NoMethodError

It looks like you're running into this issue https://github.com/bundler/bundler/issues/2838

Because Bundler remembers flags passed to install, if you ever ran bundle install --binstubs in the past, it will re-generate the binstubs on subsequent runs of bundle install. You can run bundle config --delete bin to delete that setting and then restore your original executable file.



Related Topics



Leave a reply



Submit