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
How to Mark a Cucumber Scenario as Pending
How to Read Files in an Eventmachine-Based App
How to Get the Array Index or Iteration Number with an Each Iterator
Declaring an Integer Range with Step != 1 in Ruby
Rails 3.1 - Changing Default Scaffold Views and Template
Can't Run Bundle Update on Windows
Keyword Arguments Unpacking (Splat) in Ruby
Why Ruby Inject Method Cannot Sum Up String Lengths Without Initial Value
How to Declare 8-Bit Unsigned Integer in Ruby
How to Handle Method Order in Ruby
How to Strip Leading and Trailing Quote from String, in Ruby
Mailchimp API Not Replacing Mc:Edit Content Sections (Using Ruby Library)
Rails 3 - How to Set Start Date to Date_Select Method
Ruby: Could Not Find a Temporary Directory
Sass Variables Not Parsing Correctly - Undefined Variable: "$Ct-White"
Enable Dropping a File Onto a Ruby Script
Why Is This Not a Syntax Error
How to Decode a Cookie from the Header of a Websocket Connection Handshake? (Ruby)