From 9a76758cba87c08b5b2624ffc7ff1891e3e5b131 Mon Sep 17 00:00:00 2001 From: Vishal Telangre Date: Thu, 30 Nov 2017 22:56:21 +0530 Subject: [PATCH] Add 'nodejs' buildback (Ref: https://github.com/rails/webpacker/issues/739) --- app.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app.json b/app.json index f806380..69da525 100644 --- a/app.json +++ b/app.json @@ -2,7 +2,7 @@ "name": "elmsanity", "description": "", "scripts": { - "postdeploy": "cp config/database.yml.postgresql config/database.yml; bundle exec rails db:create; bundle exec rails db:migrate; NODE_ENV=production bundle exec rails webpacker:compile" + "postdeploy": "cp config/database.yml.postgresql config/database.yml; bin/rails db:create; bin/rails db:migrate; NODE_ENV=production bin/rails webpacker:compile" }, "env": { "SECRET_KEY_BASE": { @@ -19,6 +19,7 @@ ], "buildpacks": [ - + { "url": "heroku/nodejs" }, + { "url": "heroku/ruby" } ] }