我已经使用 bootstrap-sass 将引导程序集成到我的应用程序中。该应用程序在我的本地计算机上运行良好,但是当我通过 capistrano 进行部署时,出现此错误:
Undefined variable: "$baseLineHeight".
(in /var/www/CollegeSportsBlueBook/shared/bundle/ruby/1.9.1/gems/bootstrap-sass-2.0.1/vendor/assets/stylesheets/bootstrap/_accordion.scss)
当 capistrano 试图奔跑时assets:precompile
我认为这个变量会引发错误,因为它是第一个尝试预编译的 scss 文件中的第一个变量。
有些东西加载不正确。任何想法可能是什么?
编辑
此处的完整跟踪https://gist.github.com/2233071
编辑 2
将 application.rb 和 production.rb 添加到 gist