Ruby on rails 错误gem安装调试器-v';1.6.8';
我正在尝试捆绑更新和捆绑安装,但当我Ruby on rails 错误gem安装调试器-v';1.6.8';,ruby-on-rails,ruby,windows,gem,Ruby On Rails,Ruby,Windows,Gem,我正在尝试捆绑更新和捆绑安装,但当我gem安装调试器-v'1.6.8'安装调试器时,我收到一个错误:错误:无法生成gem本机扩展。它还表示,make失败,退出代码2和Gem文件将继续安装在.. 我有ruby 1.9.3p551,我安装了rails 3.2.19。我在窗户上 我已经尝试了bundle update debugger和gem update debugger-ruby\u core\u source,但两者都是最新的。有人知道如何解决这个问题吗 当我运行捆绑更新调试器时: Gem::E
gem安装调试器-v'1.6.8'
安装调试器时,我收到一个错误:错误:无法生成gem本机扩展。它还表示,make失败,退出代码2
和Gem文件将继续安装在..
我有ruby 1.9.3p551,我安装了rails 3.2.19。我在窗户上
我已经尝试了bundle update debugger
和gem update debugger-ruby\u core\u source
,但两者都是最新的。有人知道如何解决这个问题吗
当我运行捆绑更新调试器时
:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
e:/Ruby193/bin/ruby.exe -r ./siteconf20150525-6232-uw5n6t.rb extconf.rb
checking for rb_method_entry_t.called_id in method.h... no
checking for rb_control_frame_t.method_id in method.h... no
checking for rb_method_entry_t.called_id in method.h... no
checking for rb_control_frame_t.method_id in method.h... no
checking for rb_method_entry_t.called_id in method.h... yes
checking for vm_core.h... yes
checking for iseq.h... yes
checking for insns.inc... yes
checking for insns_info.inc... yes
checking for eval_intern.h... yes
checking for struct iseq_line_info_entry in vm_core.h,iseq.h... no
checking for struct iseq_insn_info_entry in vm_core.h,iseq.h... yes
checking for if rb_iseq_compile_with_option was added an argument filepath... yes creating Makefile
make clean
Makefile:165: *** target pattern contains no `%'. Stop.
make
Makefile:165: *** target pattern contains no `%'. Stop.
make failed, exit code 2
Gem files will remain installed in e:/Ruby193/lib/ruby/gems/1.9.1/gems/debugger-1.6.8 for inspection.
Results logged to e:/Ruby193/lib/ruby/gems/1.9.1/extensions/x86-mingw32/1.9.1/debugger-1.6.8/gem_make.out
An error occurred while installing debugger (1.6.8), and Bundler cannot continue.
Make sure that `gem install debugger -v '1.6.8'` succeeds before bundling.`
当我运行gem安装调试程序-v'1.6.8'
:
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing debugger:
ERROR: Failed to build gem native extension.
e:/Ruby193/bin/ruby.exe -r ./siteconf20150525-1772-grdsdf.rb extconf.rb
checking for rb_method_entry_t.called_id in method.h... no
checking for rb_control_frame_t.method_id in method.h... no
checking for rb_method_entry_t.called_id in method.h... no
checking for rb_control_frame_t.method_id in method.h... no
checking for rb_method_entry_t.called_id in method.h... yes
checking for vm_core.h... yes
checking for iseq.h... yes
checking for insns.inc... yes
checking for insns_info.inc... yes
checking for eval_intern.h... yes
checking for struct iseq_line_info_entry in vm_core.h,iseq.h... no
checking for struct iseq_insn_info_entry in vm_core.h,iseq.h... yes
checking for if rb_iseq_compile_with_option was added an argument filepath... yes
creating Makefile
make clean
Makefile:165: *** target pattern contains no `%'. Stop.
make
Makefile:165: *** target pattern contains no `%'. Stop.
make failed, exit code 2
Gem files will remain installed in e:/Ruby193/lib/ruby/gems/1.9.1/gems/debugger-1.6.8 for inspection.
Results logged to e:/Ruby193/lib/ruby/gems/1.9.1/extensions/x86-mingw32/1.9.1/debugger-1.6.8/gem_make.out
我让它工作了。出现错误是因为RubyGems版本
Ruby1.9.3
似乎与1.8.x以上的RubyGems不兼容。要解决这个问题,只需降级到RubyGems 1.8.29:gem更新——system 1.8.29
您可以粘贴整个gem安装
输出吗?它应该提到它编译失败的库。你确定你的ruby版本吗<代码>仅支持1.9.2和1.9.3。对于2。x红宝石,考虑使用BYEBUG。< /代码>我包括了<代码>包更新< /代码>和<代码> GEM安装< /代码>输出。是的,它是1.9.3