Closed geetotes closed 10 years ago
whoops, take that back. did not read the documentation fully :(
But documentation need to be updated to Rails 4 way (use config/initializers/assets.rb not environment).
Interesting; I added an assets.rb in my project with the line:
Rails.application.config.assets.precompile += %w( vjs.eot )
And it did not do anything. Only adding to my enviroment/production.rb and environment/development.rb the line specified in the docs fixed it.
You need to add (depending on your error):
Rails.application.config.assets.precompile += %w( vjs.woff )
Not
Rails.application.config.assets.precompile += %w( vjs.eot )
Your browser want to download woff
not eot
(for IE)
I just did a fresh install of this gem on a rails4 project and I'm getting this error on my view: