ruby-on-rails – 安装调试器(1.6.8)时发生错误,Bundler无法继续.确保`gem install debugger -v’1.6.8’`

发布时间:2020-01-06 发布网站:大佬教程
大佬教程收集整理的这篇文章主要介绍了ruby-on-rails – 安装调试器(1.6.8)时发生错误,Bundler无法继续.确保`gem install debugger -v’1.6.8’`大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
当安装调试器由gem安装调试器-v’1.6.8’安装调试器似乎有一个递归的效果,它表示安装成功,但当我执行捆绑安装或捆绑更新时,该消息将重新出现
|20:15:37| ~ gem install debugger -v '1.6.8'
Building native extensions.  This could take a while...
Successfully installed debugger-1.6.8
Parsing documentation for debugger-1.6.8
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for lib/ruby_debug.bundle,skipping
1 gem installed
|20:15:55| ~ bundle install
Fetching gem metadata from https://rubygems.org/.......
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies......
Using rake 10.3.2
Using Ascii85 1.0.2
Using i18n 0.6.9

Using coffee-script 2.2.0
Using coffee-rails 3.2.2
Using colored 1.2
Using commonjs 0.2.7
Using coolline 0.4.4
Using debugger-ruby_core_source 1.3.5

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby 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... no
Makefile creation failed
*************************************************************

  NOTE: If your headers were not found,try passing
        --with-ruby-include=PATH_TO_HEADERS

*************************************************************

*** extconf.rb failed ***
Could not create Makefile due to some reason,probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
    --with-ruby-dir
    --without-ruby-dir
    --with-ruby-include
    --without-ruby-include=${ruby-dir}/include
    --with-ruby-lib
    --without-ruby-lib=${ruby-dir}/

extconf failed,exit code 1

Gem files will remain installed in /var/folders/mp/tl8cpc_j0vd504t3npnqxzl00000gn/T/bundler20140630-67837-rxj9rk/debugger-1.6.8/gems/debugger-1.6.8 for inspection.
Results logged to /var/folders/mp/tl8cpc_j0vd504t3npnqxzl00000gn/T/bundler20140630-67837-rxj9rk/debugger-1.6.8/extensions/universal-darwin-13/2.0.0/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.
|20:17:56| ~

我已经尝试捆绑更新调试器-ruby_core_source和rm Gemfile.lock然后捆绑安装

解决方法

请更换

谢谢!

大佬总结

以上是大佬教程为你收集整理的ruby-on-rails – 安装调试器(1.6.8)时发生错误,Bundler无法继续.确保`gem install debugger -v’1.6.8’`全部内容,希望文章能够帮你解决ruby-on-rails – 安装调试器(1.6.8)时发生错误,Bundler无法继续.确保`gem install debugger -v’1.6.8’`所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ群:277859234,请注明来意。