Closed AHaymond closed 11 years ago
Update: Turns out the best way to handle this is to just use the "pry-rails" gem
I saw this same issue and I think it has to do with how we are loading pry with rails (pry -r ./config/environment). Try putting this in your .irbrc file to override irb with pry and start the rails console normally:
begin
require "pry"
Pry.start
exit
rescue LoadError => e
warn "=> Unable to load pry"
end
Output in Pry is not formatted as it should be:
Whereas output in the Rails console for the same object is formatted as:
My .pryrc file includes the following in order to load awesome_print as the default formatter:
My versions are: