在 rails 中使用导入基础

using import foundation in rails

在assets/stylesheets/application.css.scss 我有这些行

@import "compass/css3";

@import "foundation";

@import 'foundation-icons';

但是 @import "foundation" 失败并出现此错误

Invalid CSS after "": expected media query list, was ""only screen an..."
  (in app/assets/stylesheets/application.css.scss:143)

这是我的 Gemfile

gem 'rails-dev-tweaks'
gem "compass-rails"
gem "zurb-foundation", '~> 4.0.0'
gem "foundation-icons-sass-rails"
gem 'bootstrap-sass-rails'

有什么问题?我在 Windows 8.1

您已经运行:

rails g foundation:install