For everyone who complete the ruby on rails tutorial by M. Hartl

26 views
Skip to first unread message

Juan Cabrera

unread,
Sep 21, 2015, 12:23:03 PM9/21/15
to Ruby on Rails: Talk
I already complete the chapter 9 from the tutorial, but I'm getting this issue when I deploy the app to heroku.


my sample app in develpment local machine




When I deploy to heroku production, this happen... any suggestion?

Juan Cabrera

unread,
Sep 21, 2015, 4:26:18 PM9/21/15
to Ruby on Rails: Talk
I found the solution here:


thanks,

Run bundle exec rake assets:precompile to compile the assets incl. the stylesheets into the public hierarchy that is being used by Heroku.

When done:

git add -A

git commit -m "Precompiled assets" and finally

git push and git push heroku

Reply all
Reply to author
Forward
0 new messages