Open chnoack opened 11 years ago
I had the same problem, which I fixed with:
rake RAILS_RELATIVE_URL_ROOT='/<<APP URL>>' assets:precompile
(so it does not seem to be a problem with the gem).
I continue to have this problem despite running the rake task suggested by avillafiorita. I entered:
RAILS_ENV=production bundle exec rake RAILS_RELATIVE_URL_ROOT='/pellethead' assets:precompile
My app runs at ww.xx.yy.zz/pellethead.
Icons (and my supposedly responsive homepage image using interchange) do not appear or are broken (404).
Any further advice?
Thanks,
--Dean
My Rails-App is using foundation-icons-sass-rails and works well as long as the apps root URL is '/'. If you use Phusion Passenger and install you application under a sub URL like http://www.example.com/myapp the font assets will still be searched under '/assets' and not under '/myapp/assets'. This is wrong.
Is there a way to configure the font url for foundation icons in my Rails app?
Best regards,
Christian