Skip to content

Instantly share code, notes, and snippets.

@yui-knk
Last active December 31, 2015 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yui-knk/8022158 to your computer and use it in GitHub Desktop.
Save yui-knk/8022158 to your computer and use it in GitHub Desktop.
pry bug??

env

  • windows XP
  • ruby 2.0.0
  • pry 0.9.11 ~ 0.9.12.4

constant Pry::REPL::Readline is undefined through pry_class.rb

    if defined?(Bond) && Readline::VERSION !~ /editline/i
      config.completer = Pry::BondCompleter.start
    else
      config.completer = Pry::InputCompleter.start
    end

this bug? is happen on windows (not linux). I have changed my environment. So I do not know this is general bug. Now searching...

p require "rb-readline"
p require "readline"

#=> true
#=> false

it's ok.

p require "readline"
p require "rb-readline"

#=> true
#=> true

it's NG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment