Once deprecated, no longer supported in Ruby 1.9. Easy enough to work around it, though: just require 'rubygems/gem_runner'.
Signed-off-by: Chris Wanstrath <email@example.com>
This is a revert of commits 0628cc7... and 88e9160... which introduced rubygems/open-uri in order to allow for proxy settings to be used. However open-uri has honoured ENV['http_proxy'] and cousins for some time. Moreover, rubygems/open-uri won't be fond in recent rubygems distros, having been removed in Nov. 2006. Signed-off-by: Chris Wanstrath <firstname.lastname@example.org>
…how the sheet body to the user and then ask them if they want to execute it or not to avoid security issues.
…open() requests to include proxy settings.
…nemnt variables by default
An easy test of this is with `cheat iana_port_list`. If less is quit immediately, cheat will hang forever due to the improperly closed pipe. But when the pipe is closed properly, it will get an Errno::EPIPE instead, so we have to handle both conditions.
…ly under OS X when running the pager
…ine, we can just keep going.
…ut to make it worthwhile.