wingrunr21 / flat-ui-sass

Designmodo's Flat-UI ported to SASS with support for Flat-UI Pro
MIT License
156 stars 44 forks source link

Rails 4.1.6 & Ruby 2.1.3 assets initialization error #35

Closed cseydel closed 9 years ago

cseydel commented 9 years ago

Hi, I just want to try out FlatUI rails for the first time with rails 4.1.6 and ruby 2.1.3 and suffering from an assets error:

Asset filtered out and will not be served: addRails.application.config.assets.precompile += %w( flat-ui/tile/ribbon.png )toconfig/initializers/assets.rband restart your server

I added this line, restarted but still this error is occurring. Have you any advise to get it working?

Best, Christoph

yujingz commented 9 years ago

For now what you can do is

Rails.application.config.assets.precompile += ['flat-ui/**/*']
cseydel commented 9 years ago

worked, thanks.