<StevenJack>
Just trying to run the specs and I've followed the steps of 'rake spec:deps' then 'rake spec' but I end up with loads of failures relating to things like 'undefined method `allow' for #<RSpec::ExampleGroups::BundlerSourceRubygems::Caches:0x007fafea101020>' which makes me think it's using the wrong version of rspec, anyone know the right direction to point me in?
djbkd_ has joined #bundler
djbkd_ has quit []
houhouli_ has joined #bundler
houhoulis has quit [Ping timeout: 264 seconds]
houhouli_ has quit [Remote host closed the connection]
houhoulis has joined #bundler
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.2/2015041600]]
houhoulis has quit [Remote host closed the connection]
houhoulis has joined #bundler
StevenJack has quit [Ping timeout: 240 seconds]
StevenJack has joined #bundler
houhoulis has quit [Remote host closed the connection]
<StevenJack>
Just trying to run the specs and I've followed the steps of 'rake spec:deps' then 'rake spec' but I end up with loads of failures relating to things like 'undefined method `allow' for #<RSpec::ExampleGroups::BundlerSourceRubygems::Caches:0x007fafea101020>' which makes me think it's using the wrong version of rspec, anyone know the right direction to point me in?
<indirect>
StevenJack: yup, sounds like the wrong rspec
<StevenJack>
how does one get around that?
<StevenJack>
as I assume you can't use bundle exec when running bundler, that's why there's the rake spec:deps task
<indirect>
uh... no real idea, tbh. the Bundler specs try to make sure that you have the right version of rspec before running
<indirect>
maybe your rake command is somehow loading the wrong version of ruby?
<indirect>
if you have run rake spec:deps, you definitely have the right version installed
<StevenJack>
that's what I was thinking
<indirect>
you could try using gem uninstall to get rid of other versions of rspec, or check `head $(which rake)` to see if rake is running a different ruby than you expect
<StevenJack>
what ruby manager do you use? I'm guoing to run it in a docker container with a fresh install
<indirect>
I use chruby, but I know the Bundler specs work with the latest rvm, since that's what CI uses
<StevenJack>
yea I'm using chruby too
<StevenJack>
might be worth having a Dockerfile in the root and building a public image for runnig the specs as another option
<StevenJack>
then to run the specs you could do 'docker run -v /path/to/bundler/clone:/app bundler spec'
<StevenJack>
yea works fine in a container, something to do with my setup - thing that always bugs be about having ruby installed on my mac
<StevenJack>
well, different versions that is
<StevenJack>
indirect: I'll put a PR in for the Dockerfile for a discussion