Reputation: 6897
Before anything, let me state that I did some research and found the following questions on Stack Overflow about the same issue:
None of the answers above actually help me solve my problem, because they refer to a different setup of Font Awesome.
Indeed, I installed Font Awesome on my Rails 4 with the font-awesome-rails gem, following the guidelines available here, ie:
gem "font-awesome-rails"
to my Gemfile
.bundle install
*= require font-awesome
to application.scss
.Because of this setup, the first SO question mentioned above does not help me, since it refers to the CDN installation of Font Awesome.
In the second question, the valid answer suggests to:
Move the
fonts
folder for font-awesome intoapp/assets
and the font awesome js and css files intovendor/assets
orapp/assets
appropriate javascripts and stylesheets folders.
But I can't find any font
folder, nor any font awesome js and css files in my app currently.
—————
EDIT: I am happy to delete my question if it is an actual duplicate of any of the questions mentioned above because I just did not understand the given answers.
—————
Is there a specifc way to fix my problem with my current setup?
Upvotes: 3
Views: 261
Reputation: 5790
run this command:
bundle exec rake assets:precompile
now, run git add -A
, git commit
and push to heroku.
Upvotes: 1