1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

HerokuでBuild failedと返される非エンジニアです。

Posted at

#Herokuでgit push heroku masterする

-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using 1.6.3
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
You are trying to install in deployment mode after changing
your Gemfile. Run bundle install elsewhere and add the
updated Gemfile.lock to version control.
You have added to the Gemfile:
* pg
* therubyracer
Bundler Output: You are trying to install in deployment mode after changing
your Gemfile. Run bundle install elsewhere and add the
updated Gemfile.lock to version control.
You have added to the Gemfile:
* pg
* therubyracer
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby app```

#しかしページは表示される

Heroku | Welcome to your new app!
https://yourapp0915.herokuapp.com/

Gemfileを書き換えるといっても、therubyracerは先頭の#を消してるし、あと何をすれば良いのやら・・。頭を悩ませています。

1
2
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?