michaeldv/awesome_print — pull request #71 by ryansch (2011-12-29 06:29:11+00:00)
Title: Pry fix

The rails console require conditionals fail when running pry directly. I've added a check for `defined?(Pry)` to get ActiveRecord and ActiveSupport extensions loaded.

The second commit is due to rspec complaining about the order of that array after I changed the require stuff. Since the order doesn't matter, I just changed the test.