multi-buildpack setup for heroku:

$ heroku buildpacks:set https://github.com/heroku/heroku-buildpack-multi.git

will set it up
This commit is contained in:
Devin Howard 2016-08-08 21:58:23 +08:00
parent 3b24165fd0
commit b9247d2692
2 changed files with 9 additions and 0 deletions

View file

@ -1 +1,2 @@
https://github.com/heroku/heroku-buildpack-nodejs.git
https://github.com/heroku/heroku-buildpack-ruby.git https://github.com/heroku/heroku-buildpack-ruby.git

View file

@ -0,0 +1,8 @@
namespace :assets do
task :js_compile do
system "npm install"
system "npm run build"
end
end
Rake::Task[:'assets:precompile'].enhance([:'assets:js_compile'])