Provide a guide to contributing #101

CaseyLeask opened this Issue Mar 18, 2012 · 7 comments

2 participants


Currently, I can't get all the base tests to pass due to specific versions of rspec the test suite requires.
Can you add a section on how to correctly set up a working copy of the source, without using the global gems?

The latest error is:
...................................../home/cleask/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/rubygems_integration.rb:219:in block in replace_bin_path': can't find executable spec (Gem::Exception) from /home/cleask/.rbenv/versions/1.9.3-p125/bin/spec:19 in


Guard member

It's already in the README under the testing section. Thanks!

Please run `rake spec:prepare_fixtures` once before launching specs.
@thibaudgg thibaudgg closed this Mar 19, 2012

I've tried that, but it didn't fix the error.


I've removed the gems I installed and did another try from scratch.
Immediately, I get these errors:

/home/cleask/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/spec_set.rb:88:in `block in materialize': Could not find rspec-1.3.1 in any of the sources (Bundler::GemNotFound)

/home/cleask/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.0.22/lib/bundler/spec_set.rb:88:in `block in materialize': Could not find rspec-core-2.5.1 in any of the sources (Bundler::GemNotFound)

@thibaudgg thibaudgg reopened this Mar 20, 2012
Guard member

Sorry, I'll give a try again.

Guard member

Ok, rake spec need to by run without bundle exec. Can you try with rspec spec to see if you still got these errors.

Guard member

Works for you?


Ah, I found the problem.
If I run both

rake spec:prepare_fixtures


rake spec

without bundler all the tests pass.
I don't normally run any project-related command outside of bundler, so I'll have to remember this.

@thibaudgg thibaudgg pushed a commit that closed this issue Mar 26, 2012
Thibaud Guillaume-Gentil Don't use bundle exec to run custom_spec task
Fix #101
@thibaudgg thibaudgg closed this in 11c3e8b Mar 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment