ruby on rails - Bootstrap date-picker image assets not displaying when deployed (on Heroku) -
i using gem 'bootstrap3-datetimepicker-rails', '~> 3.1.3' include date/time-picker in web app, , works in development, when deploy heroku assets (icons) gem uses up/down arrows , other icons displaying empty squares, seen in screenshot:

any idea why these displaying properly?
this how should look:

i using rails 4, ruby 2, , deployed on heroku, thanks!
update: after looking @ heroku logs, see error:
actioncontroller::routingerror (no route matches [get] "/assets/bootstrap/glyphicons-halflings-regular.tttf")
in app, have "/assets/bootstrap/glyphicons-halflings-regular-0469longseriesoflettersandnumbers.tttf"), why it's not finding it. these letters/numbers mean? can safely remove them names of files in sublime text? again
found answer here glyphicon works locally not on heroku , here https://holarails.wordpress.com/2014/04/03/problem-twitter-bootstrap-glyphicons-not-show-in-heroku/.
if has better solution (as looks using can affect performance), i'd appreciate it!
Comments
Post a Comment