Asset was not declared to be precompiled in production.? (img)

rails

#1

Following hartl’s tutorial for rails,

curl -O http://rubyonrails.org/images/rails.png (right off of the tutorial)
mv rails.png app/assets/images/ (" ")

now when viewed in the browser “Asset was not declared to be precompiled in production.?” comes up…
Hartl even writes “If the second command fails, which sometimes happens on the cloud IDE for reasons I don’t understand, try re-running the first curl command until the file downloads correctly.”…

Why does the image not want to download properly or display properly on the browser??

Thank You,
B.G.


Expected 0 to be >= 1.? Ruby On Rails Tutorial
#2

I think what Hartl wrote is related to the curl command failing. It looks like it worked correctly and that image downloaded correctly into your workspace but the error you’re getting is something else. Unfortunately I don’t know that much rails but perhaps http://stackoverflow.com/questions/34344094/after-gem-update-test-fail-with-asset-was-not-declared-to-be-precompiled-in-pr helps?


#3

thanks tim…
I really appreciate your help!