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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Christopher Thielen
2011-Sep-13 00:34 UTC
Re: "Isn''t precompiled" message while compiling
Nevermind, this is apparently a known issue. Setting the config''s precompile to true will workaround it for now. On Sep 12, 2011, at 5:13 PM, Christopher Thielen wrote:> 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 >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Apparently Analagous Threads
- jquery error in production precompiled
- rake assets:precompile issue with JS and stylesheets files with similar name
- rake precompile:assets throwing error
- Is there any way to update the javascript when I reload the page using rails?
- Rails asset precompilation doesn't remove comments. How to enable?