herokuアップロード時に以下のようなエラーが出てしまい、アップロードできない状況です。
エラーの対処法をご存知の方がいらっしゃいましたら、ご助言いただけると幸いです。
remote: extconf failed, exit code 1
remote:
remote: Gem files will remain installed in
remote: /tmp/build_9866956eb4e02f5f48215fcc88f2fa09/vendor/bundle/ruby/2.2.0/gems/ruby-filemagic-0.7.1
remote: for inspection.
remote: Results logged to
remote: /tmp/build_9866956eb4e02f5f48215fcc88f2fa09/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0-static/ruby-filemagic-0.7.1/gem_make.out
remote:
remote: An error occurred while installing ruby-filemagic (0.7.1), and Bundler cannot
remote: continue.
remote: Make sure that gem install ruby-filemagic -v '0.7.1'
succeeds before bundling.
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 poskei-popcorn.
remote:
To https://git.heroku.com/poskei-popcorn.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/poskei-popcorn.git'
ちなみに、
heroku create poskei-popcorn --buildpack https://github.com/heroku/heroku-buildpack-ruby.gitを利用し
git push heroku master 時にエラーが出ます。
一応、gem install ruby-filemagic -v '0.7.1'は行っていますが、その後もpush時にエラーが表示されます。
何か不足情報がありましたら、追加いたしますので、よろしくお願いいたします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。