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




On Monday, September 21, 2015 at 1:29:33 PM UTC-4, j_McCaffrey wrote:
>
> Are you missing some css or something?
>
> I would look in dev-tools in the browser to see if there are any errors.
> Areas to investigate:
> 1. Are there any files that did not get checked in?
> 2. Are there any css/js files that did not get properly handled by the 
> asset pipeline?
> 3. Are there any errors in the browser? (does it render differently in 
> different browsers?)
> 4. Are there any errors in the heroku logs?
>
>
> You might find that others have run into this same issue and posted 
> questions/answers on StackOverflow or directly on the RailsTutorial site.
>
> Let us know how you end up resolving it!
>
>
> On Mon, Sep 21, 2015 at 10:48 AM, Juan Cabrera <[email protected] 
> <javascript:>> wrote:
>
>>
>>
>>
>> <https://lh3.googleusercontent.com/-xWbcp_HcDbM/VgAmX6WVx3I/AAAAAAAAEqo/SkOBEMK4wjs/s1600/development_sample_app.JPG>
>>  
>> <https://lh3.googleusercontent.com/-E-ef_bvGWqw/VgAmacA7sNI/AAAAAAAAEqw/6vjAL4se1MI/s1600/producction_sample_app.JPG>
>>
>>
>> my App is ok in development environment(local machine)... but when i 
>> deploy to heroku producction this happen.
>>
>> -- 
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Heroku" group.
>>  
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/heroku?hl=en_US?hl=en
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Heroku Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Thanks,
> -John
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to