Closed ajbraus closed 9 years ago
Hi, I use bower-rails in dev and now am trying to deploy to heroku. I thought it might be good to add some docs to the gem for that.
The problem is heroku does not see the bower_components in my vendor/assets file even though I've added the path to my application.rb file
config.assets.paths << Rails.root.join('vendor', 'assets', 'bower_components')
Heroku push origin master:
-----> Preparing app for Rails asset pipeline Running: rake assets:precompile ... rake aborted! Sprockets::FileNotFound: couldn't find file 'angular' (in /tmp/build_e660cd4b8a3168401ec4da7e261784fe/app/assets/javascripts/application.js:18)
How do you require angular in application.js?
application.js
Sorry figured this out. I was not checking bower_components into github! Sorry!
Hi, I use bower-rails in dev and now am trying to deploy to heroku. I thought it might be good to add some docs to the gem for that.
The problem is heroku does not see the bower_components in my vendor/assets file even though I've added the path to my application.rb file
Heroku push origin master: