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

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

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

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

Ruby on Rails

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

Q&A

解決済

2回答

1601閲覧

herokuエラーを解消したい

rowarubchinsky

総合スコア20

Heroku

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

Ruby on Rails

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

0グッド

0クリップ

投稿2018/10/25 05:31

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream heroku_repams refs/heads/master:refs/heads/master Pushing to https://git.heroku.com/herokuapp.git POST git-receive-pack (chunked) remote: Compressing source files... done. remote: Building source: remote: remote: -----> Ruby app detected remote: -----> Compiling Ruby/Rails remote: -----> Using Ruby version: ruby-2.5.0 remote: remote: ###### WARNING: remote: remote: You have the `.bundle/config` file checked into your repository remote: It contains local state like the location of the installed bundle remote: as well as configured git local gems, and other settings that should remote: not be shared between multiple checkouts of a single repo. Please remote: remove the `.bundle/` folder from your repo and add it to your `.gitignore` file. remote: https://devcenter.heroku.com/articles/bundler-configuration remote: remote: -----> Installing dependencies using bundler 1.15.2 remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment remote: Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.17.0). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`. remote: Fetching gem metadata from https://rubygems.org/......... remote: Fetching version metadata from https://rubygems.org/.. remote: Fetching dependency metadata from https://rubygems.org/. remote: Fetching rake 12.3.1 remote: Fetching concurrent-ruby 1.0.5 remote: Fetching minitest 5.11.3 remote: Installing minitest 5.11.3 中略 remote: Bundle complete! 26 Gemfile dependencies, 73 gems now installed. remote: Gems in the groups development and test were not installed. remote: Bundled gems are installed into ./vendor/bundle. remote: Post-install message from sass: remote: remote: Ruby Sass is deprecated and will be unmaintained as of 26 March 2019. remote: remote: * If you use Sass as a command-line tool, we recommend using Dart Sass, the new remote: primary implementation: https://sass-lang.com/install remote: remote: * If you use Sass as a plug-in for a Ruby web framework, we recommend using the remote: sassc gem: https://github.com/sass/sassc-ruby#readme remote: remote: * For more details, please refer to the Sass blog: remote: http://sass.logdown.com/posts/7081811 remote: remote: Bundle completed (50.00s) remote: Cleaning up the bundler cache. remote: Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.17.0). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`. remote: The latest bundler is 1.17.0, but you are currently running 1.15.2. remote: To update, run `gem install bundler` remote: -----> Installing node-v8.10.0-linux-x64 remote: -----> Detecting rake tasks remote:  remote: ! remote: ! Could not detect rake tasks remote: ! ensure you can run `$ bundle exec rake -P` against your app remote: ! and using the production group of your Gemfile. remote: ! rake aborted! remote: ! LoadError: Please set MECAB_PATH to the full path to libmecab.so remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/natto-1.1.1/lib/natto/binding.rb:58:in `rescue in find_library' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/natto-1.1.1/lib/natto/binding.rb:48:in `find_library' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/natto-1.1.1/lib/natto/binding.rb:64:in `<module:Binding>' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/natto-1.1.1/lib/natto/binding.rb:6:in `<module:Natto>' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/natto-1.1.1/lib/natto/binding.rb:2:in `<main>' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `block in require' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:253:in `load_dependency' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `require' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/natto-1.1.1/lib/natto/natto.rb:2:in `<main>' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `block in require' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:253:in `load_dependency' remote: ! /tmp/build_19b05fe997dc703b09b12e88f25032b0/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `require' 中略 /app/tmp/buildpacks/b7af5642714be4eddaa5f35e2b4c36176b839b4abcd9bfe57ee71c358d71152b4fd2cf925c5b6e6816adee359c4f0f966b663a7f8649b0729509d510091abc07/lib/language_pack/instrument.rb:35:in `trace' remote: from /app/tmp/buildpacks/b7af5642714be4eddaa5f35e2b4c36176b839b4abcd9bfe57ee71c358d71152b4fd2cf925c5b6e6816adee359c4f0f966b663a7f8649b0729509d510091abc07/bin/support/ruby_compile:15:in `<main>' remote: ! Push rejected, failed to compile Ruby app. remote: remote: ! Push failed remote: Verifying deploy... remote: remote: ! Push rejected to herokuapp. remote: To https://git.heroku.com/herokuapp.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/heorkuapp.git' Completed with errors, see above

ヘロクにあげようとしたのですが、gemのエラー?が起こってあげることができません。

このようなエラーは初めてでどのように対処すればいいのかわかりません。

どのような原因が考えられるでしょうか。

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

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

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

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

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

guest

回答2

0

ベストアンサー

mecab のインストールが失敗しているのかパスの指定が悪いのか...??

Heroku + Rails + Mecab のようなので、

などを参考にしてチャレンジしてみてください。

投稿2018/10/25 07:32

CHERRY

総合スコア25171

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

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

0

どのような原因が考えられるでしょうか。

bash

1remote: ! LoadError: Please set MECAB_PATH to the full path to libmecab.so

ここの行じゃないですか?

投稿2018/10/25 05:46

退会済みユーザー

退会済みユーザー

総合スコア0

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

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

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

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

ただいまの回答率
85.48%

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

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

質問する

関連した質問