Created
June 13, 2014 15:36
-
-
Save GertThiel/487e47dc82b73eccd1b9 to your computer and use it in GitHub Desktop.
MissingSourceFile: no such file to load -- rspec/core
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# istead of originally | |
require 'rspec/core' | |
# this supports RSpec 1 | |
begin | |
# RSpec v2 | |
require 'rspec/core' | |
rescue Exception | |
# RSpec v1 | |
require 'spec' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment