添加flat_ui到Rails应用程序 - 遵循指示,但页面抛出错误

当前设置添加flat_ui到Rails应用程序 - 遵循指示,但页面抛出错误

的Gemfile

#More stuff above 

gem "flatui-rails"

application.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

*/

当我尝试加载页面在开发模式下,我得到错误 *找不到文件'flat_iu'*

我已经运行了捆绑

束秀flat_ui 结果:〜/ .rvm /宝石/红宝石2.0.0-P247 /宝石/ flatui护栏-0.0.4

我可以”弄清楚我在这一点上缺少的东西。这是我第一次使用Rails应用程序,所以我不知道是否有我在上面遗漏的东西。

环境

  • 导轨4版 - 开发服务器
  • 红宝石版本2.0.0p247
  • Linux操作系统(OS小学)

回答:

你似乎已经拼错库的名称。这是一个破折号而不是下划线。

*= require flat-ui 

以上是 添加flat_ui到Rails应用程序 - 遵循指示,但页面抛出错误 的全部内容, 来源链接: utcz.com/qa/261046.html

回到顶部