why not `ruby -e 'p defined?(Readline)'` ?