0

当前设置

宝石文件

#More stuff above
gem "flatui-rails"

应用程序.css

/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
 *
 * 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
 *= require_tree .
 *= require flat_ui
 */

当我尝试在开发模式下加载页面时,我收到错误 *couldn't find file 'flat_iu'*

我已经运行了 bundle

捆绑显示 flat_ui 结果:~/.rvm/gems/ruby-2.0.0-p247/gems/flatui-rails-0.0.4

我无法弄清楚我在这一点上缺少什么。这是我的第一个 Rails 应用程序,所以我不知道上面是否有遗漏的内容。

环境

  • rails 版本 4 - 开发服务器
  • 红宝石版本 2.0.0p247
  • Linux(基本操作系统)
4

1 回答 1

1

您似乎拼错了图书馆的名称。它是一个破折号而不是下划线。

*= require flat-ui
于 2013-10-12T00:49:49.417 回答