# Stub file to conform gem name (rb-readline)
# It forces require of bundled readline instead of any already existing
# in your Ruby installation. It will avoid any possible warning caused
# by double require.
unless $LOADED_FEATURES.any? { |f| f =~ /readline\.rb$/ }
  require File.join(File.dirname(__FILE__), 'readline')
end

# Stub file to conform gem name (rb-readline)
# It forces require of bundled readline instead of any already existing
# in your Ruby installation. It will avoid any possible warning caused
# by double require.
unless defined?(RbReadline)
  require File.join(File.dirname(__FILE__), 'readline')
end

Check against RbReadline been defined
Check against RbReadline been defined

Since other projects might have readline.rb files loaded before.
That check was stupid. (I need to stop coding late at night)
