gemのインストールのために bundke installをしたのですが、
下記のエラーが生じました。
対処法がわからないです。 よろしくお願いします、、
[vagrant@vagrant-centos65 cfz_blog]$ bundle install Fetching gem metadata from https://rubygems.org/........... Fetching version metadata from https://rubygems.org/... Fetching dependency metadata from https://rubygems.org/.. Resolving dependencies..... Using rake 12.0.0 Using i18n 0.8.1 Using minitest 5.10.2 Using thread_safe 0.3.6 Using tzinfo 1.2.3 Using activesupport 4.2.8 Using builder 3.2.3 Using erubis 2.7.0 Using mini_portile2 2.1.0 Installing nokogiri 1.7.2 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /home/vagrant/.rbenv/versions/2.2.3/bin/ruby -r ./siteconf20170516-2074-7jlz5x.r b extconf.rb --use-system-libraries checking if the C compiler accepts ... yes Building nokogiri using system libraries. WARNING: libxml2 version 2.9.3 or later is highly recommended, but proceeding anyway . checking for xmlParseDoc() in libxml/parser.h... yes checking for xsltParseStylesheetDoc() in libxslt/xslt.h... yes checking for exsltFuncRegister() in libexslt/exslt.h... yes checking for xmlHasFeature()... yes checking for xmlFirstElementChild()... yes checking for xmlRelaxNGSetParserStructuredErrors()... yes checking for xmlRelaxNGSetParserStructuredErrors()... yes checking for xmlRelaxNGSetValidStructuredErrors()... yes checking for xmlSchemaSetValidStructuredErrors()... yes checking for xmlSchemaSetParserStructuredErrors()... yes creating Makefile Text file busy @ unlink_internal - ./siteconf20170516-2074-7jlz5x.rb Gem files will remain installed in /vagrant/projects/cfz_blog/vendor/bundle/ruby/2.2 .0/gems/nokogiri-1.7.2 for inspection. Results logged to /vagrant/projects/cfz_blog/vendor/bundle/ruby/2.2.0/extensions/x86 _64-linux/2.2.0-static/nokogiri-1.7.2/gem_make.out An error occurred while installing nokogiri (1.7.2), and Bundler cannot continue. Make sure that `gem install nokogiri -v '1.7.2'` succeeds before bundling.
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/05/16 05:05
2017/05/16 05:09
2017/05/17 05:52