[英]Failed to deploy Rails app with gem bootstrap-sass 3.0.3.0 on heroku
I have a rails application that I wanted to upgrade from bootstrap-sass 2 to bootstrap-sass 3 我有一个Rails应用程序,我想从bootstrap-sass 2升级到bootstrap-sass 3。
After modifying some css class name, my application worked perfectly on my machine. 修改了一些CSS类名之后,我的应用程序在我的机器上运行良好。
I removed the @import bootstrap-responsive ( because bootstrap is natively responsive since 3.0 ) I updated my gemfile and my bundle BUT when I try to deploy my application on Heroku I have the following error : 我删除了@import bootstrap-sensitive(因为bootstrap从3.0开始就具有本机响应),所以当我尝试在Heroku上部署应用程序时,我更新了gemfile和bundle BUT,但出现以下错误:
AssetSync: using /tmp/build_68121564-cc6f-46c8-86d7-ad9ccb180ea1/config/initializers/asset_sync.rb rake aborted! File to import not found or unreadable: bootstrap-responsive. Load paths: Sass::Rails::Importer(/tmp/build_68121564-cc6f-46c8-86d7-ad9ccb180ea1/app/assets/stylesheets/developers.css.sass)
What I tried so far : 到目前为止我尝试过的是:
What should I do ? 我该怎么办 ? The problem is clearly due to some temp files but even after cleaning them I can't push my app on heroku. 问题显然是由于一些临时文件引起的,但是即使清除了它们,我也无法在heroku上推送我的应用程序。
Solved 解决了
I just had a @import bootstrap-responsive in another .css.scss file im my repo. 我在我的存储库中的另一个.css.scss文件中只有一个@import bootstrap-回应。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.