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
rails c ⇒ odd, empty test runs. #115
Comments
(Cross-posted to pry/pry-rails#31 ) |
Bundler automatically Since you probably only want to load turn when you run tests, I'd suggest bundling turn like this: gem "turn", :require => false And explicitly put |
The latest version of Turn shouldn't have this problem. That's why |
This is still present, as described above, with the GitHub master branch version of Turn. |
Solution from @5long fixed it for me, thanks! |
Unfortunately the clash between Test::Unit and MiniTest has been a pain in the ass from day one. MiniTest should have never have usurped Test::Unit's namespace. That Bundler autoload's everything in the Gemfile only made matters worse. I don't know why the railtie work around is being used. It seems like a mistake to me. Why would you run tests just b/c Test::Unit responds to |
If you start with
rails new foo && cd foo
Then edit the
Gemfile
to have:Then run:
rails c
Then hit
^D
to exit the console, you'll get funky output like this:This doesn't happen:
turn
gempry-rails
gem (not even if youPry.start
from~/.irbrc
)We haven't had time to look into it beyond seeing that:
autorun
stuffrailties-3.2.9/lib/rails/console/app.rb
has a funky hack:Any clues about this one?
The text was updated successfully, but these errors were encountered: