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

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

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

Cloud9は、クラウドからのプログラミングが可能になるWebサービス。IDEとしての機能が搭載されており、GitHubやHerokuなど他ツールとの連携も可能です。ブラウザ上で動くため、デバイスに関係なく開発環境を準備できます。

Ruby

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

Heroku

HerokuはHeroku社が開発と運営を行っているPaaSの名称です。RubyやNode.js、Python、そしてJVMベース(Java、Scala、Clojureなど)の複数のプログラミング言語をサポートしている。

Ruby on Rails

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

Q&A

解決済

1回答

531閲覧

qiita-markdownをcloud9からherokuへデプロイ時にエラー

NobutakaKomaki

総合スコア114

Cloud9

Cloud9は、クラウドからのプログラミングが可能になるWebサービス。IDEとしての機能が搭載されており、GitHubやHerokuなど他ツールとの連携も可能です。ブラウザ上で動くため、デバイスに関係なく開発環境を準備できます。

Ruby

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

Heroku

HerokuはHeroku社が開発と運営を行っているPaaSの名称です。RubyやNode.js、Python、そしてJVMベース(Java、Scala、Clojureなど)の複数のプログラミング言語をサポートしている。

Ruby on Rails

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

0グッド

0クリップ

投稿2017/08/06 06:40

qiita-markdownのgemを利用したサンプルアプリを
Cloud9環境からherokuにデプロイしたいのですが、以下のエラーがでてしまい
うまくデプロイができません。

対応方法をアドバイスのほどお願いします。

gem install rugged -v '0.26.0'を実行。
http://qiita.com/noraworld/items/5984cdad9e7feedab594
に記載されている内容などは対応してみたのですが、一向に直らない状況です。

remote: Gem::Ext::BuildError: ERROR: Failed to build gem native extension. remote: remote: current directory: remote: /tmp/build_761712b116815f909623cee3c928058f/vendor/bundle/ruby/2.3.0/gems/rugged-0.26.0/ext/rugged remote: /tmp/build_761712b116815f909623cee3c928058f/vendor/ruby-2.3.4/bin/ruby -r remote: ./siteconf20170806-281-v3z43y.rb extconf.rb remote: checking for gmake... no remote: checking for make... yes remote: checking for cmake... no remote: ERROR: CMake is required to build Rugged. remote: *** extconf.rb failed *** remote: Could not create Makefile due to some reason, probably lack of necessary remote: libraries and/or headers. Check the mkmf.log file for more details. You may remote: need configuration options. remote: remote: Provided configuration options: remote: --with-opt-dir remote: --without-opt-dir remote: --with-opt-include remote: --without-opt-include=${opt-dir}/include remote: --with-opt-lib remote: --without-opt-lib=${opt-dir}/lib remote: --with-make-prog remote: --without-make-prog remote: --srcdir=. remote: --curdir remote: --ruby=/tmp/build_761712b116815f909623cee3c928058f/vendor/ruby-2.3.4/bin/$(RUBY_BASE_NAME) remote: --with-sha1dc remote: --without-sha1dc remote: --use-system-libraries remote: remote: To see why this extension failed to compile, please check the mkmf.log which can remote: be found here: remote: remote: /tmp/build_761712b116815f909623cee3c928058f/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/rugged-0.26.0/mkmf.log remote: remote: extconf failed, exit code 1 remote: remote: Gem files will remain installed in remote: /tmp/build_761712b116815f909623cee3c928058f/vendor/bundle/ruby/2.3.0/gems/rugged-0.26.0 remote: for inspection. remote: Results logged to remote: /tmp/build_761712b116815f909623cee3c928058f/vendor/bundle/ruby/2.3.0/extensions/x86_64-linux/2.3.0/rugged-0.26.0/gem_make.out remote: remote: An error occurred while installing rugged (0.26.0), and Bundler cannot continue. remote: Make sure that `gem install rugged -v '0.26.0'` succeeds before bundling. remote: remote: In Gemfile: remote: qiita-markdown was resolved to 0.20.1, which depends on remote: github-linguist was resolved to 4.8.18, which depends on remote: rugged remote: ! remote: ! Failed to install gems via Bundler. remote: ! remote: ! Push rejected, failed to compile Ruby app. remote: remote: ! Push failed remote: Verifying deploy.... remote: remote: ! Push rejected to secure-eyrie-83653. remote:

Rails 5.1.3
Ruby 2.3.0

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

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

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

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

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

guest

回答1

0

ベストアンサー

CMakeやlibicuをHeroku環境に用意する必要があります。ここなどが参考になるかもしれません。

投稿2017/08/06 08:20

maisumakun

総合スコア145183

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

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

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

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

ただいまの回答率
85.48%

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

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

質問する

関連した質問