【问题标题】:cant use sublimerepl to debug ruby code不能使用 sublimerepl 调试 ruby​​ 代码
【发布时间】:2014-07-20 09:00:06
【问题描述】:

当我使用 Ruby 运行 sublimeREPL 时,我收到了这样的消息。它工作正常 Ruby(不推荐使用 IRB)

/Users/paul/Library/Application Support/Sublime Text 2/Packages/SublimeREPL/config/Ruby/pry_repl.rb:37:in `': 未初始化的常量 Pry::InputCompleter (NameError)

Repl 已关闭

我是 Ruby 新手,如果有人能帮我解决这个问题或给我一些关于发生了什么的提示,我将不胜感激。

如果我用 Python 代码运行 sublimeREPL,我会得到 ​​p>

Repl 已关闭

如果我点击进入下一个 Sublime Text 将关闭..

【问题讨论】:

    标签: ruby sublimerepl


    【解决方案1】:

    https://github.com/smiler/SublimeREPL/commit/95ffe15382336ef6720502752e71c290055cf7f8

    这个补丁修复了 'InputCompleter' 错误,但是当使用 'help' 时,它会引发 readline 错误。

    【讨论】:

      猜你喜欢
      • 2011-05-06
      • 2021-12-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-12-28
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多