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

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?

I found the solution here:

http://stackoverflow.com/questions/16125581/heroku-messing-up-css-following-hartls-rails-tutorial

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