Should have been "checking in your *precompiled* assets"...

On Mon, Sep 21, 2015 at 7:13 PM, Robert Fletcher <lobatifri...@gmail.com>
wrote:

> Checking in your assets isn't ideal, since it makes a mess of your git
> history. Heroku should be able to precompile your assets on the fly, so I'd
> check out the build logs and settings in your production.rb file to make
> sure they fit the recommended settings. Heroku has some docs on asset
> precompilation that might be helpful:
> https://devcenter.heroku.com/articles/rails-asset-pipeline#compiling-assets-during-slug-compilation
>
> On Mon, Sep 21, 2015 at 7:08 PM, John McCaffrey <john.mccaff...@gmail.com>
> wrote:
>
>> awesome!
>>
>> thanks for sharing the solution, it will help the next person
>>
>> On Mon, Sep 21, 2015 at 2:40 PM, Juan Cabrera <cabrer...@gmail.com>
>> wrote:
>>
>>> 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 <cabr...@gmail.com>
>>>> 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
>>>>> heroku+un...@googlegroups.com
>>>>> 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 heroku+un...@googlegroups.com.
>>>>> 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
>>> heroku+unsubscr...@googlegroups.com
>>> 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 heroku+unsubscr...@googlegroups.com.
>>> 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
>> heroku+unsubscr...@googlegroups.com
>> 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 heroku+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

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

To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com
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 heroku+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to