# "Isn't precompiled" message while compiling

**URL:** <https://discuss.rubyonrails.org/t/isnt-precompiled-message-while-compiling/60851>\
**Category:** rubyonrails-talk\
**Created:** [September 13, 2011, 12:13am UTC](https://discuss.rubyonrails.org/t/isnt-precompiled-message-while-compiling/60851 "2011-09-13T00:13:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christopher\_Thielen](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@Christopher\_Thielen](https://discuss.rubyonrails.org/u/Christopher_Thielen)\
**Post date:** [September 13, 2011, 12:13am UTC](https://discuss.rubyonrails.org/t/isnt-precompiled-message-while-compiling/60851/1 "2011-09-13T00:13:38Z")

</div>

I have one JS library that references image assets in /app/assets/images/subdir/.

When I execute "bundle exec rake assets:precompile RAILS\_ENV=production", I receive an error that the image file in /subdir/ isn't precompiled ... while I'm telling it to compile all assets.

I've tried clearing out /public/assets/.

Any ideas?

Thanks, Christopher Thielen

---

<div class="post-metadata">

**Author:** ![Christopher\_Thielen](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@Christopher\_Thielen](https://discuss.rubyonrails.org/u/Christopher_Thielen)\
**Post date:** [September 13, 2011, 12:34am UTC](https://discuss.rubyonrails.org/t/isnt-precompiled-message-while-compiling/60851/2 "2011-09-13T00:34:19Z")

</div>

Nevermind, this is apparently a known issue. Setting the config's precompile to true will workaround it for now.
