ruby on rails - Everytime I run rake assets:precompile fonts don't load -
i'm super frustrated, main issue rails asset pipeline. yesterday had working fine in production mode today made change 1 of forms adding
:class => "classname" to 1 of fields
now in field it's displaying code , if remove field, page stuck somehow in cache ran
rake tmp:cache:clear and nothing worked delete public/assets folder , ran
bundle exec rake assets:precompile rails_env=production and fonts arent loading
what have happened make things not work such minor change? don't , rails p*ssing me off don't know why why why, please explain me
this worked few hours ago
config/application.rb
config.assets.paths << "#{rails.root}/assets/fonts" config.assets.paths << "#{rails.root}/assets/images" config.assets.paths << rails.root.join("app", "assets", "fonts") config.assets.precompile += %w( .svg .eot .woff .ttf ) config.assets.precompile += ["ss-standard/ss-standard.ttf", "ss-standard/ss-standard.eot", "ss-standard/ss-standard.svg", "ss-standard/ss-standard.woff"] the fonts load in chrome not on internet explorer or firefox, neither images
Comments
Post a Comment