Navigation Menu

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

LoadError for rspec/version for apps that use rspec-rails #83

Merged
merged 1 commit into from Dec 5, 2012

Conversation

DFrenkel
Copy link
Contributor

@DFrenkel DFrenkel commented Dec 4, 2012

  • Fix for ci_reporter-1.8.2/lib/ci/reporter/rspec.rb:19:in `require': no such file to load -- rspec/version (LoadError) when using rspec-rails. Instead of using 'rspec/version', we should be using 'rspec/core/version'. For apps that use vanilla rspec, that also exists and will work just fine. However, for apps that use rspec-rails, rspec/version does not exist. It is probably a mistake by rspec to have version.rb in both rspec and in rspec-core as it introduces unnecessary confusion that causes this issue.

- Fix for ci_reporter-1.8.2/lib/ci/reporter/rspec.rb:19:in `require': no such file to load -- rspec/version (LoadError) when using rspec-rails. Instead of using 'rspec/version', we should be using 'rspec/core/version'. For apps that use vanilla rspec, that also exists and will work just fine. However, for apps that use rspec-rails, rspec/version does not exist. It is probably a mistake by rspec to have version.rb in both rspec and in rspec-core as it introduces unnecessary confusion that causes this issue.
nicksieger added a commit that referenced this pull request Dec 5, 2012
LoadError for rspec/version for apps that use rspec-rails
@nicksieger nicksieger merged commit 021bbb9 into ci-reporter:master Dec 5, 2012
@nicksieger
Copy link
Member

Thanks!

@DFrenkel
Copy link
Contributor Author

DFrenkel commented Dec 5, 2012

Glad to help!

@mrooney
Copy link

mrooney commented Jan 24, 2013

Would it be possible to release this? Unless I'm missing something (very possible) it didn't make it into 1.8.3 (https://github.com/nicksieger/ci_reporter/blob/f59cbf16cd6f908964abebce2e5f81bd35d60fc8/lib/ci/reporter/rspec.rb) so we're still seeing this. Thanks for any help!

@tchak
Copy link

tchak commented Jan 25, 2013

same here, 1.8.3 did not fix the problem

@nicksieger
Copy link
Member

Sorry guys! 1.8.4 is released now.

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

Successfully merging this pull request may close these issues.

None yet

4 participants