From 93761bd5542e7a81ed65cb7a771823e9a8efebb6 Mon Sep 17 00:00:00 2001 From: Sean Doyle Date: Tue, 24 Jan 2017 12:22:47 -0500 Subject: [PATCH] Execute `bin/heroku_install` via `sh` Closes [#511]. Be explicit about executing the Heroku setup script by invoking `sh` directly. [#511]: https://github.com/thoughtbot/ember-cli-rails/issues/511 --- CHANGELOG.md | 3 +++ lib/generators/ember/heroku/templates/package.json.erb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cad06157..c54df7eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,11 @@ master ------ +* Execute `bin/heroku_install` through `sh` [#512] * Generate `package.json` with `bower` as a `dependencies` value. +[#512]: https://github.com/thoughtbot/ember-cli-rails/pull/512 + 0.8.3 ----- diff --git a/lib/generators/ember/heroku/templates/package.json.erb b/lib/generators/ember/heroku/templates/package.json.erb index 931a49fd..56b4b52b 100644 --- a/lib/generators/ember/heroku/templates/package.json.erb +++ b/lib/generators/ember/heroku/templates/package.json.erb @@ -1,6 +1,6 @@ { "scripts": { - "postinstall": "./bin/heroku_install" + "postinstall": "sh bin/heroku_install" }, "dependencies": { "bower": "*"