我最近升级到了rails 3.1,并在我的rails 3.1应用程序中安装了Bourbon gem。将此添加到我的Gemfile:gem 'bourbon'
跑$ bundle install
但是当我application.css.scss我添加了@import "bourbon";
线,我得到以下错误:波旁文件 - 导入未找到或无法读取的文件:波本
File to import not found or unreadable: bourbon.
Load path: Sass::Rails::Importer ...
这里是我的application.css.scss文件
/*
* This is a manifest file that'll automatically include all the stylesheets available in this directory
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
* the top of the compiled file, but it's generally better to create a new file per style scope.
*= require_self
*/
@import "bourbon";
@import "scaffold.css.scss";
.hidden{
display:none;
}
任何想法如何加载Boubon?我究竟做错了什么?
我猜测需要一些文件需要生成的轨道来访问波旁图书馆,不是吗?
任何帮助或线索,我将非常感激
还试图运行'耙波旁:install'但无差异 – alik
任何帮助或线索将不胜感激 – alik