sparklemotion/nokogiri — pull request #1198 by robmiller (2014-11-24 12:43:50+00:00)
Title: CLI mode: use Pry rather than IRB if it's available

Pry offers a couple of features, namely the pretty-printing of collections and syntax highlighting of returned values, that make working with Nokogiri documents in the REPL more user-friendly.

This pull request doesn't add Pry as a dependency of Nokogiri or change the default behaviour (I figured that was too far), but instead simply uses Pry over IRB if Pry is available and otherwise falls back to the previous IRB behaviour.

I use the CLI interface to Nokogiri quite a lot, so this improves things for me considerably; I assume there are others in the same boat.