Skip to content

Commit

Permalink
Add Heroku nodejs buildpack
Browse files Browse the repository at this point in the history
**Why**: After upgrading to the latest webpacker, assets failed to
compile on Heroku. This issue says you need to add the nodejs buildpack:
rails/webpacker#739

Make sure the nodejs buildpack comes before the ruby one.

I also removed unnecessary items from app.json.
  • Loading branch information
monfresh committed Apr 4, 2018
1 parent 093dd8d commit db6c367
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
"GOOGLE_ANALYTICS_ID": {
"required": true
},
"HEROKU_POSTGRESQL_RED_URL": {
"required": true
},
"LANG": {
"required": true
},
Expand All @@ -42,15 +39,6 @@
"MEMCACHIER_USERNAME": {
"required": true
},
"NEW_RELIC_APP_NAME": {
"required": true
},
"NEW_RELIC_LICENSE_KEY": {
"required": true
},
"NEW_RELIC_LOG": {
"required": true
},
"OHANA_API_ENDPOINT": {
"required": true
},
Expand Down Expand Up @@ -83,14 +71,12 @@
}
},
"addons": [
"logentries",
"newrelic",
"memcachier",
"heroku-postgresql",
"sendgrid"
],
"buildpacks": [
{
"url": "heroku/nodejs",
"url": "heroku/ruby"
}
]
Expand Down

0 comments on commit db6c367

Please sign in to comment.