Closed joaovpmamede closed 9 years ago
Tried to deploy a clone of the repo but unfortunately it seems that, at least for the first time you can't require any assets from gems.
Because heroku has a "buildpack-detect-order" it runs ruby before the nodejs stuff. https://devcenter.heroku.com/articles/buildpacks#default-buildpacks
What happens is the following
-----> Preparing app for Rails asset pipeline Running: rake assets:precompile rake aborted! Sprockets::FileNotFound: couldn't find file 'global' (in /tmp/build_555261d13cd0900aa0a0d6e8b80d45dc/app/assets/javascripts/application.js:12)
Nevermind, just had to run this:
heroku config:add BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git
Next time I'll try to read the docs first.
Tried to deploy a clone of the repo but unfortunately it seems that, at least for the first time you can't require any assets from gems.
Because heroku has a "buildpack-detect-order" it runs ruby before the nodejs stuff. https://devcenter.heroku.com/articles/buildpacks#default-buildpacks
What happens is the following