everydayrails / rails-4-1-rspec-3-0

Code samples for Everyday Rails Testing with RSpec, Rails 4.1/RSpec 3.0 edition
272 stars 229 forks source link

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

Open hachi8833 opened 7 years ago

hachi8833 commented 7 years ago

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.

Thank you,

ruralocity commented 7 years ago

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