如何在SublimeREPL中修复“可能找到'撬错'”

时间:2019-06-26 13:30:35

标签: ruby sublimetext3

我有此代码:

# require 'io/console'

puts "Hello World"

# or what you can do is

print "What is your name ? "
name = gets
print name

我选择通过选择使用SublimeREPL

> Tools > SublimeREPL > Ruby > Ruby

因为我不能接受Sublime Text 3中普通的Ruby构建系统的输入,但是出现了这个错误:

C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/dependency.rb:310:in `to_specs': Could not find 'pry' (>= 0) among 107 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=C:/Users/Abrham/.gem/ruby/2.5.0;C:/Ruby25-x64/lib/ruby/gems/2.5.0', execute `gem env` for more information
  from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/dependency.rb:322:in `to_spec'
  from C:/Ruby25-x64/lib/ruby/2.5.0/rubygems/core_ext/kernel_gem.rb:65:in `gem'
  from C:/Users/Abrham/AppData/Roaming/Sublime Text 3/Packages/SublimeREPL/config/Ruby/pry_repl.rb:2:in `<main>'

0 个答案:

没有答案