FortAwesome / font-awesome-sass

Font-Awesome Sass gem for use in Ruby/Rails projects
MIT License
911 stars 266 forks source link

[URGENT] Asset Precomplilation Error #58

Closed mazikwyry closed 9 years ago

mazikwyry commented 9 years ago

First time deploying Rails app with your gem and have a error while precompiling assets:

** [out :: bttf.exlabs.co.uk] NoMethodError: undefined method `assets' for #<Rails::Engine::Configuration:0x00000004961410>
 ** [out :: bttf.exlabs.co.uk] /home/bttf/apps/BankToTheFuture/shared/bundle/ruby/1.9.1/gems/railties-3.2.13/lib/rails/railtie/configuration.rb:85:in `method_missing'
 ** [out :: bttf.exlabs.co.uk] /home/bttf/apps/BankToTheFuture/shared/bundle/ruby/1.9.1/gems/font-awesome-sass-4.2.1/lib/font_awesome/sass/rails/engine.rb:10:in `block in <class:Engine>'
mazikwyry commented 9 years ago

Looks like the problem was introduced by this commit removing app before config

https://github.com/FortAwesome/font-awesome-sass/commit/cbaeb0b777e53eb2238f4065caa8f4e99793062c#diff-5dc1ac9ec120f18c9e5ee4a845a19ca6R10

mazikwyry commented 9 years ago

I've downgrade to 4.2.0 and problem not occurred so this is the problem - it needs a fix!

supercodepoet commented 9 years ago

Ok, fixed this issue, sorry. The new gem version 4.2.2 has been released.

mazikwyry commented 9 years ago

Thanks a lot and your gem is doing a great job for me!