質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Ruby on Rails 5

Ruby on Rails 5は、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

Ruby

Rubyはプログラミング言語のひとつで、オープンソース、オブジェクト指向のプログラミング開発に対応しています。

Q&A

解決済

1回答

214閲覧

bundle update出来ない

takuma-yoshida

総合スコア11

Ruby on Rails 5

Ruby on Rails 5は、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

Ruby

Rubyはプログラミング言語のひとつで、オープンソース、オブジェクト指向のプログラミング開発に対応しています。

0グッド

0クリップ

投稿2018/07/11 14:48

gemfileを編集しbundle updateを実行したら以下のエラーが発生しました。

The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`. Fetching gem metadata from https://rubygems.org/........ Fetching gem metadata from https://rubygems.org/. Resolving dependencies....... Using rake 12.3.1 Using CFPropertyList 2.3.6 Using concurrent-ruby 1.0.5 Using i18n 0.9.5 Using minitest 5.11.3 Using thread_safe 0.3.6 Using tzinfo 1.2.5 Using activesupport 5.1.4 Using builder 3.2.3 Using erubi 1.7.1 Using mini_portile2 2.3.0 Using nokogiri 1.8.4 Using rails-dom-testing 2.0.3 Using crass 1.0.4 Using loofah 2.2.2 Using rails-html-sanitizer 1.0.4 Using actionview 5.1.4 Using rack 2.0.5 Using rack-test 1.0.0 Using actionpack 5.1.4 Using nio4r 2.3.1 Using websocket-extensions 0.1.3 Using websocket-driver 0.6.5 Using actioncable 5.1.4 Using globalid 0.4.1 Using activejob 5.1.4 Using mini_mime 1.0.0 Using mail 2.7.0 Using actionmailer 5.1.4 Using activemodel 5.1.4 Using arel 8.0.0 Using activerecord 5.1.4 Using ansi 1.5.0 Using execjs 2.7.0 Using autoprefixer-rails 8.6.5 Using bcrypt 3.1.11 Using bindex 0.5.0 Using rb-fsevent 0.10.3 Using ffi 1.9.25 Using rb-inotify 0.9.10 Using sass-listen 4.0.0 Using sass 3.5.6 Using bootstrap-sass 3.3.7 Using will_paginate 3.1.6 Using bootstrap-will_paginate 1.0.0 Using bundler 1.16.2 Using byebug 9.0.6 Using mime-types-data 3.2016.0521 Using mime-types 3.1 Using carrierwave 1.2.2 Using coderay 1.1.2 Using coffee-script-source 1.12.2 Using coffee-script 2.4.1 Using method_source 0.9.0 Using thor 0.20.0 Using railties 5.1.4 Using coffee-rails 4.2.2 Using unf_ext 0.0.7.5 Using unf 0.1.4 Using domain_name 0.5.20180417 Using excon 0.62.0 Using faker 1.7.3 Using fission 0.5.0 Using formatador 0.2.5 Using fog-core 1.45.0 Using multi_json 1.13.1 Using fog-json 1.2.0 Using ipaddress 0.8.3 Using xml-simple 1.1.5 Using fog-aliyun 0.3.2 Using fog-xml 0.1.3 Using fog-atmos 0.1.0 Using fog-aws 2.0.1 Using inflecto 0.0.2 Using fog-brightbox 0.15.0 Using fog-cloudatcost 0.1.2 Using fog-digitalocean 0.3.0 Using fog-dnsimple 1.0.0 Using fog-dynect 0.0.3 Using fog-ecloud 0.3.0 Using fog-google 0.1.0 Using fog-internet-archive 0.0.1 Using fog-joyent 0.0.1 Using fog-local 0.5.0 Using fog-openstack 0.1.27 Using json 2.1.0 Fetching ovirt-engine-sdk 4.2.4 Installing ovirt-engine-sdk 4.2.4 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /usr/local/rvm/gems/ruby-2.4.0/gems/ovirt-engine-sdk-4.2.4/ext/ovirtsdk4c /usr/local/rvm/rubies/ruby-2.4.0/bin/ruby -r ./siteconf20180711-7136-ose8xm.rb extconf.rb checking for xml2-config... yes checking for curl-config... no *** 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=/usr/local/rvm/rubies/ruby-2.4.0/bin/$(RUBY_BASE_NAME) --with-libcurl-config --without-libcurl-config --with-pkg-config --without-pkg-config extconf.rb:40:in `<main>': The "libcurl" package isn't available. (RuntimeError) To see why this extension failed to compile, please check the mkmf.log which can be found here: /usr/local/rvm/gems/ruby-2.4.0/extensions/x86_64-linux/2.4.0/ovirt-engine-sdk-4.2.4/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /usr/local/rvm/gems/ruby-2.4.0/gems/ovirt-engine-sdk-4.2.4 for inspection. Results logged to /usr/local/rvm/gems/ruby-2.4.0/extensions/x86_64-linux/2.4.0/ovirt-engine-sdk-4.2.4/gem_make.out An error occurred while installing ovirt-engine-sdk (4.2.4), and Bundler cannot continue. Make sure that `gem install ovirt-engine-sdk -v '4.2.4' --source 'https://rubygems.org/'` succeeds before bundling. In Gemfile: fog was resolved to 1.42.0, which depends on fog-ovirt was resolved to 1.1.0, which depends on ovirt-engine-sdk

エラーログを見てもいまひとつ理解ができないのですが、どのような対策が考えられますでしょうか。
よろしくお願いします。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

extconf.rb:40:in `<main>': The "libcurl" package isn't available. (RuntimeError)

なのでlibcurl-develとかlibcurl-devといったパッケージをyumだのaptだのでインストールする必要があります。

投稿2018/07/11 15:01

asm

総合スコア15147

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問