Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spec/rake/spectask error #3

Closed
Kudu opened this issue Jan 15, 2011 · 3 comments
Closed

spec/rake/spectask error #3

Kudu opened this issue Jan 15, 2011 · 3 comments

Comments

@Kudu
Copy link

Kudu commented Jan 15, 2011

I get the following error when running rake or rake spec:

bash-4.1$ rake spec
(in /Users/user/Documents/seamless)
rake aborted!
no such file to load -- spec/rake/spectask
:29:in `require'
:29:in `require'
/Users/user/Documents/seamless/Rakefile:31:in `'
/usr/local/Cellar/ruby/1.9.2-p136/lib/ruby/1.9.1/rake.rb:2373:in `load'
/usr/local/Cellar/ruby/1.9.2-p136/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile'
/usr/local/Cellar/ruby/1.9.2-p136/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile'
/usr/local/Cellar/ruby/1.9.2-p136/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling'
/usr/local/Cellar/ruby/1.9.2-p136/lib/ruby/1.9.1/rake.rb:2006:in `load_rakefile'
/usr/local/Cellar/ruby/1.9.2-p136/lib/ruby/1.9.1/rake.rb:1991:in `run'
/usr/local/bin/rake:31:in `'
@michaeledgar
Copy link
Owner

Ah - this'll definitely be a bug with what version of rspec I'm requiring. I think I have it set to require >1.something, but 2.0 broke compatibility, so it should be ~>1.something. I have a few projects that'll need to be migrated – thanks for the tip!

@michaeledgar
Copy link
Owner

A more appropriate explanation has provided with commit 67e8389.

@Kudu
Copy link
Author

Kudu commented Jan 16, 2011

Just a question, how can I download RSpec 1.x and overwrite 2.x with it? Or, even better, install both versions side-by-side?

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants