Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails RubyonRails安装包错误_Ruby On Rails_Macos_Rubygems - Fatal编程技术网

Ruby on rails RubyonRails安装包错误

Ruby on rails RubyonRails安装包错误,ruby-on-rails,macos,rubygems,Ruby On Rails,Macos,Rubygems,我正在尝试安装由其他人开发的github应用程序,但遇到了一个错误。我在互联网上搜索了很多建议,但似乎都不管用。我正在运行OSX 10.11,我成功安装了RoR,我可以运行一个新的应用程序。这个git使用Rubyv2.0.0-p195。我试图运行“bundle update”并得到一个类似的错误。我尝试了来自此页面的建议: 在这里: 还有其他一些,但运气不好。我包括了整个终端反馈,希望有人能指导我。我是RoR的新手,请帮助我 The git source `git://github.com/im

我正在尝试安装由其他人开发的github应用程序,但遇到了一个错误。我在互联网上搜索了很多建议,但似乎都不管用。我正在运行OSX 10.11,我成功安装了RoR,我可以运行一个新的应用程序。这个git使用Rubyv2.0.0-p195。我试图运行“bundle update”并得到一个类似的错误。我尝试了来自此页面的建议: 在这里: 还有其他一些,但运气不好。我包括了整个终端反馈,希望有人能指导我。我是RoR的新手,请帮助我

The git source `git://github.com/imagesnap/paperclip-meta` uses the `git` protocol, which transmits data without encryption. Disable this warning with `bundle config git.allow_insecure true`, or switch to the `https` protocol to keep your data secure.
Fetching gem metadata from http://rubygems.org/............
Fetching version metadata from http://rubygems.org/..
Fetching dependency metadata from http://rubygems.org/.
Using rake 11.1.2
Using i18n 0.7.0
Using multi_json 1.11.2
Using builder 3.0.4
Using erubis 2.7.0
Using journey 1.0.4
Using rack 1.4.7
Using hike 1.2.3
Using tilt 1.4.1
Using mime-types 1.25.1
Using polyglot 0.3.5
Using json 1.8.3
Using arel 3.0.3
Using tzinfo 0.3.48
Using addressable 2.4.0
Using mini_portile2 2.0.0
Using bcrypt-ruby 3.0.1
Using cancan 1.6.10
Using ffi 1.9.10
Using rubyzip 1.2.0
Using websocket 1.2.3
Using coderay 1.1.1
Using coffee-script-source 1.10.0
Using execjs 2.6.0
Using thor 0.19.1
Using columnize 0.9.0
Using daemons 1.2.3
Using database_cleaner 0.7.2
Using debugger-linecache 1.2.0
Using debugger-ruby_core_source 1.3.8
Using diff-lcs 1.2.5
Using eventmachine 1.2.0.1
Using multipart-post 2.0.0
Using formatador 0.2.5
Using rb-fsevent 0.9.7
Using lumberjack 1.0.10
Using nenv 0.3.0
Using shellany 0.0.1
Using method_source 0.8.2
Using slop 3.6.0
Using hashie 3.4.3
Using mini_magick 4.5.1
Using mixpanel-ruby 2.2.0
Using bundler 1.13.2
Using sixarm_ruby_unaccent 1.1.1
Using pg 0.18.4
Using rspec-support 3.4.1
Using sass 3.4.22
Using sequel 3.20.0
Using temple 0.7.6
Using will_paginate 3.1.0
Using faker 1.0.1
Using activesupport 3.2.22.2
Using braintree 2.59.0
Using rack-cache 1.6.1
Using rack-test 0.6.3
Using rack-ssl 1.3.4
Using rack-mobile-detect 0.4.0
Using sinatra 1.0
Using sprockets 2.2.3
Using rest-client 1.6.9
Using treetop 1.4.15
Using rdoc 3.12.2
Using launchy 2.2.0
Using nokogiri 1.6.7.2
Using childprocess 0.5.9
Using rb-inotify 0.9.7
Using zip-zip 0.3
Using coffee-script 2.4.1
Using uglifier 1.2.7
Using foreman 0.78.0
Installing debugger 1.6.8 with native extensions
Using thin 1.6.4
Using faraday 0.9.2
Using notiffany 0.0.8
Using pry 0.10.3
Using money 6.7.0
Using rspec-core 3.4.4
Using rspec-expectations 3.4.0
Using rspec-mocks 3.4.1
Using slim 3.0.6
Using activemodel 3.2.22.2
Using active_utils 2.2.3
Using climate_control 0.0.3
Using delayed_job 3.0.3
Using factory_girl 3.2.0
Using taps 0.3.24
Using mail 2.5.4
Using letter_opener 1.4.1
Using aws-sdk-v1 1.66.0
Using xpath 0.1.4
Using selenium-webdriver 2.53.0
Using listen 3.0.6
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /Users/workplace/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/debugger-1.6.8/ext/ruby_debug
/Users/workplace/.rbenv/versions/2.3.1/bin/ruby -r ./siteconf20161015-62818-19849qb.rb extconf.rb
*** 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=/Users/workplace/.rbenv/versions/2.3.1/bin/$(RUBY_BASE_NAME)
/Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:1392:in `initialize': No such file or directory @ rb_sysopen -
./231/ruby_debug.h (Errno::ENOENT)
    from /Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:1392:in `open'
    from /Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:1392:in `copy_file'
    from /Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:486:in `copy_file'
    from /Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:403:in `block in cp'
    from /Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:1571:in `block in fu_each_src_dest'
    from /Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:1585:in `fu_each_src_dest0'
    from /Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:1569:in `fu_each_src_dest'
    from /Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:402:in `cp'
    from extconf.rb:83:in `block in <main>'
    from extconf.rb:82:in `each'
    from extconf.rb:82:in `<main>'

extconf failed, exit code 1

Gem files will remain installed in /Users/workplace/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/debugger-1.6.8 for inspection.
Results logged to /Users/workplace/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/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.
git源代码`git://github.com/imagesnap/paperclip-meta`使用“git”协议,该协议在不加密的情况下传输数据。使用“bundle config git.allow_unsecure true”禁用此警告,或切换到“https”协议以确保数据安全。
从中获取gem元数据http://rubygems.org/............
从中获取版本元数据http://rubygems.org/..
从中获取依赖项元数据http://rubygems.org/.
使用rake 11.1.2
使用i18n0.7.0
使用multi_json 1.11.2
使用builder 3.0.4
使用erubis 2.7.0
使用旅程1.0.4
使用机架1.4.7
使用1.2.3
使用tilt 1.4.1
使用mime类型1.25.1
使用polyglot 0.3.5
使用json 1.8.3
使用arel 3.0.3
使用tzinfo 0.3.48
使用可寻址2.4.0
使用mini_portile2 2.0.0
使用bcrypt ruby 3.0.1
使用cancan 1.6.10
使用ffi 1.9.10
使用rubyzip 1.2.0
使用websocket 1.2.3
使用coderay 1.1.1
使用coffee脚本源代码1.10.0
使用execjs2.6.0
使用thor 0.19.1
使用columnize 0.9.0
使用守护进程1.2.3
使用database_cleaner 0.7.2
使用调试器linecache 1.2.0
使用debugger-ruby_core_source 1.3.8
使用diff lcs 1.2.5
使用eventmachine 1.2.0.1
使用多部分post 2.0.0
使用formatador 0.2.5
使用rb fsevent 0.9.7
使用伐木工1.0.10
使用nenv 0.3.0
使用shellany 0.0.1
使用方法_来源0.8.2
使用slop 3.6.0
使用hashie 3.4.3
使用mini_magick 4.5.1
使用mixpanel ruby 2.2.0
使用捆绑机1.13.2
使用sixarm_ruby_uncent 1.1.1
使用第0.18.4页
使用rspec支持3.4.1
使用sass 3.4.22
使用sequel 3.20.0
使用temple 0.7.6
使用will_paginate 3.1.0
使用faker 1.0.1
使用activesupport 3.2.22.2
使用braintree 2.59.0
使用机架缓存1.6.1
使用机架测试0.6.3
使用机架ssl 1.3.4
使用rack mobile detect 0.4.0
使用sinatra 1.0
使用链轮2.2.3
使用rest客户端1.6.9
使用treetop 1.4.15
使用RDOC3.12.2
使用launchy 2.2.0
使用nokogiri 1.6.7.2
使用childprocess 0.5.9
使用rb inotify 0.9.7
使用zip 0.3
使用coffee脚本2.4.1
使用uglifier 1.2.7
使用工头0.78.0
安装带有本机扩展的调试器1.6.8
使用瘦1.6.4
使用法拉第0.9.2
使用notiffany 0.0.8
使用撬杆0.10.3
使用货币6.7.0
使用rspec core 3.4.4
使用rspec期望值3.4.0
使用rspec模拟3.4.1
使用slim 3.0.6
使用activemodel 3.2.22.2
使用活动工具2.2.3
使用气候控制0.0.3
使用延迟作业3.0.3
使用factory_girl 3.2.0
使用水龙头0.3.24
使用mail 2.5.4
使用字母开口器1.4.1
使用aws-sdk-v1 1.66.0
使用xpath 0.1.4
使用SeleniumWebDriver 2.53.0
使用listen 3.0.6
Gem::Ext::BuildError:错误:无法生成Gem本机扩展。
当前目录:/Users/workplace/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/debugger-1.6.8/ext/ruby_debug
/Users/workplace/.rbenv/versions/2.3.1/bin/ruby-r./siteconf20161015-62818-19849qb.rb extconf.rb
***extconf.rb失败***
由于某些原因无法创建Makefile,可能缺少必要的
库和/或标题。有关详细信息,请查看mkmf.log文件。你可以
需要配置选项。
提供的配置选项:
--使用opt dir
--不带opt dir
--选择包含
--不带opt include=${opt dir}/include
--使用opt lib
--不带opt lib=${opt dir}/lib
--用make prog
--没有make prog
--srcdir=。
--库尔迪尔
--ruby=/Users/workplace/.rbenv/versions/2.3.1/bin/$(ruby\u BASE\u NAME)
/Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:1392:“初始化”中:没有这样的文件或目录@rb_sysopen-
/231/ruby_debug.h(Errno::enoint)
来自/Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:1392:in'open'
来自/Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:1392:“复制文件”中的
来自/Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:486:“复制文件”中的
from/Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:403:in'block in cp'
from/Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:1571:in'block in fu_each_src_dest'
from/Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:1585:in'fu_each_src_dest0'
from/Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:1569:in'fu_each_src_dest'
from/Users/workplace/.rbenv/versions/2.3.1/lib/ruby/2.3.0/fileutils.rb:402:in'cp'
来自extconf.rb:83:in'block in'
摘自extconf.rb:82:in'each'
来自extconf.rb:82:in`'
extconf失败,退出代码1
Gem文件仍将安装在/Users/workplace/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/debugger-1.6.8中以供检查。
结果记录到/Users/workplace/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/debugger-1.6.8/gem_make.out
安装调试器(1.6.8)时出错,绑定程序无法继续。
在绑定之前,请确保'gem install debugger-v'1.6.8'成功。

try
gem install debugger-ruby\u core\u source
然后
bundle install
没有区别,结果相同,出现错误我已经在stackoverflow.com/a/14102043/822256上尝试了这些建议,但运气不好。我不知道我是绿色的还是什么。使用Postgres应用程序启动db,现在一切正常!尝试
gem install debugger-ruby\u core\u source
然后
bundle安装
没有区别,结果相同,出现错误我已经在stackoverflow.com/a/14102043上尝试了建议/