If you start with rails new foo && cd foo
Then edit the Gemfile to have:
group :development do
gem 'turn'
gem 'pry-rails'
end
Then run: rails c
Then hit ^D to exit the console, you'll get funky output like this:
Loaded Suite test,test/functional,test/unit,test/unit/helpers,test/performance
Started at 2012-12-03 05:56:45 +0000 w/ seed 23441.
Finished in 0.839736 seconds.
0 tests, 0 passed, 0 failures, 0 errors, 0 skips, 0 assertions
This doesn't happen:
- without the
turn gem
- without the
pry-rails gem (not even if you Pry.start from ~/.irbrc)
We haven't had time to look into it beyond seeing that:
- It comes from the test
autorun stuff
railties-3.2.9/lib/rails/console/app.rb has a funky hack:
# work around the at_exit hook in test/unit, which kills IRB
Test::Unit.run = true if Test::Unit.respond_to?(:run=)
Any clues about this one?
If you start with
rails new foo && cd fooThen edit the
Gemfileto have:Then run:
rails cThen hit
^Dto exit the console, you'll get funky output like this:This doesn't happen:
turngempry-railsgem (not even if youPry.startfrom~/.irbrc)We haven't had time to look into it beyond seeing that:
autorunstuffrailties-3.2.9/lib/rails/console/app.rbhas a funky hack:Any clues about this one?