error calling bundle in test-first-teaching repo

20 views
Skip to first unread message

Sarah Allen

unread,
May 21, 2011, 8:19:48 PM5/21/11
to test-firs...@googlegroups.com
I've been inactive in this group for a while, but I've been keeping an eye on the awesome work that Alex has been doing with testfirst.org and in refactoring the repo. I finally decided to dive in today and try out the new Rake tasks for building custom course. Sadly, I can't see to get out of the starting gate...

Having updated by clone of the repo, g...@github.com:ultrasaurus/test-first-teaching.git
When I try to do bundle, I got:
Could not find rspec-core-2.6.1 in any of the sources

I tried installing all of the dependent gems manually and still got an error running bundle, but the rake build task works now.

Hmm.

Sarah


Alex Chaffee

unread,
May 22, 2011, 1:47:22 PM5/22/11
to test-firs...@googlegroups.com
Sadly, bundler is not the panacea for gem issues we'd all hoped it was. You made the right call installing rspec manually. 

I'm getting that error too. I think what went wrong was that RSpec yanked a gem from rubygems.com, but it was still listed in Gemfile.lock. And unfortunately, Gemfile.lock is needed since the repo is a Heroku app, so we can't just gitignore it.

Solution: 
rm Gemfile.lock
bundle install

Alex Chaffee

unread,
May 22, 2011, 1:50:11 PM5/22/11
to test-firs...@googlegroups.com
...but don't do that unless you get the error "Could not find rspec-core-2.6.1 in any of the sources". I just updated the repo Gemfile.lock so it shouldn't happen again (at least in that particular variant).
Reply all
Reply to author
Forward
0 new messages