-
-
Notifications
You must be signed in to change notification settings - Fork 763
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
rspec can't find files to run under ruby 1.9.2 #29
Comments
This is about ruby-1.9.2 asking us to write I'll close this for now, as I don't intend to change anything for this, but feel free to keep the conversation going here. I can always re-open it if the conversation leads us in that direction. |
It turns out that you can add "-I." to a .rspec file in the project root (or ~/.rspec for global settings). |
Oh, great. This is a good solution. |
Fixed: http://github.com/rspec/rspec-core/commit/dff65cd7eaa68379812ffc8cd20a6693f24f74c0 (this is a dup of #28) |
Ruby 1.9.2 removed current directory (".") from $LOAD_PATH and rspec can't load the files given on the command line.
We can change our loading behavior to expand path to absolute path when requiring files (I've did that in my fork here: http://github.com/sickill/rspec-core/commit/ebcb95546fadb5b50b5e5e2e3128ff8aa01ed9a7).
If you feel this is "obscure workaround" then let's discuss other possible solutions.
The text was updated successfully, but these errors were encountered: