rails-4-1-rspec-3-0 icon indicating copy to clipboard operation
rails-4-1-rspec-3-0 copied to clipboard

[error] newer bundler causes: Your Gemfile.lock is corrupt. The following gem is missing from the DEPENDENCIES section: 'rspec'

Open hachi8833 opened this issue 9 years ago • 1 comments

Current master, as well as 09_speedup and 11_tdd branch cause the following error when running bundle under Ruby 2.1.10 plus rbenv:

Your Gemfile.lock is corrupt. The following gem is missing from the DEPENDENCIES section: 'rspec'

08_features works fine with bundler.

One of our team found that this comes from newer bundler.

workaround

Degrade bundler to 1.10.0:

gem uninstall bundler
gem install bundler -v 1.10.0
bundle

I hope you'd update the master branch to fix the issue.

  • reference: https://github.com/bundler/bundler/issues/4147

Thank you,

hachi8833 avatar Dec 10 '16 01:12 hachi8833

Hi, thanks for reporting this. I'll take a look this week.

ruralocity avatar Dec 14 '16 04:12 ruralocity