I\'m using Twitter\'s Bootstrap translated to SCSS files. It works in local-development, but when I precompile and push to Heroku (using Cedar stack), I get this:
Just put this in your gemfile
gem "twitter-bootstrap-rails", "~> 2.0rc0"
There's invalid CSS in BootStrap 2.0 which causes SCSS compilation to fail
You can verify this by looking at the output of
git push heroku master
You should see some error like:
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
Invalid CSS after "...er-radius:0 \0/": expected expression (e.g. 1px, bold), was ";}"
(in /tmp/build_1k8ugei34dpcw/app/assets/stylesheets/application.css)
Tasks: TOP => assets:precompile:primary
(See full trace by running task with --trace)
Precompiling assets failed, enabling runtime asset compilation
Injecting rails31_enable_runtime_asset_compilation
Please see this article for troubleshooting help:
http://devcenter.heroku.com/articles/rails31_heroku_cedar#troubleshooting