タイトル
Herokuプッシュ時にエラー「! Could not detect rake tasks」
質問内容

Herokuにプッシュした際に次のエラーが発生します。

エラー文
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:  !     Failed to install gems via Bundler.
remote:  !
remote:  !     Push rejected, failed to compile Ruby app.
remote: 
remote:  !     Push failed
回答

回答を閲覧するには,ログイン が必要です。

公開範囲について

こちらの教材は,やんばるエキスパート会員限定で公開しております。

申し込みは以下のページよりお願いいたします。

やんばるエキスパート Ruby講座

やんばるエキスパート PHP講座

やんばるエキスパート デザイン講座