I'm trying to deploy to Dokku running on a Digital Ocean droplet. When Dokku tries to compile the assets - it fails with the above error. I figured it might be a Dokku thing (coming from heroku where it works) so tried to run rake assets:precompile
locally so I could push it to my repo and then to Dokku.
Got the same error locally Sprockets::FileNotFound: couldn't find file 'bootstrap'
Here are some relevant lines from my configs:
production.rb
config.serve_static_assets = true
config.assets.compress = true
config.assets.compile = true
config.assets.digest = true
application.rb
config.assets.initialize_on_precompile = false
config.assets.enabled = true
config.assets.version = '1.0'
I'm using these gems and rails 3.2.13:
gem 'bootstrap-sass'
I //= require bootstrap
in my application.js file.
Anyone have tips on how to handle this?