2
我想安裝ruby-debug
寶石,需要ruby-debug-base
作爲依賴。無法找到有效的寶石紅寶石調試基
gem install ruby-debug
錯誤出具有:
ERROR: Could not find a valid gem 'ruby-debug-base' (~> 0.10.6.0) in any repository
ERROR: Possible alternatives: ruby-debug-base
的Ruby版本:2.3.1,which ruby
打印:
/Users/my-name/.rvm/rubies/ruby-2.3.1/bin/ruby
已經嘗試添加
source :rubyforge
source 'http://gems.rubyforge.org'
我Gemfile中,as seen in a similar question, here。
,當我嘗試安裝使用gem install ruby-debug -v 0.10.5.rc9
創業板的舊版本,我得到的錯誤:
Ruby version 2.3.1 is too new
我試過僅安裝ruby-debug-base
,和我會見了錯誤:
current directory: /Users/my-name/.rvm/gems/ruby-2.3.1/gems/linecache-1.3.1/ext/linecache
/Users/my-name/.rvm/rubies/ruby-2.3.1/bin/ruby -r ./siteconf20170824-39487-dus4av.rb extconf.rb
Can't handle 1.9.x yet
*** extconf.rb failed ***
感謝您的輸入,但它沒有奏效。運行'gem install debugger'失敗,出現以下錯誤:/Users/my-name/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/fileutils.rb:1392:in'initialize':No such文件或目錄@ rb_sysopen - ./231/ruby_debug.h(Errno :: ENOENT) – matthewninja
嘗試'包更新調試器' – Roshan
以及不工作,因爲'調試器'寶石沒有安裝 – matthewninja