Closed felixding closed 12 years ago
I use precompilation all the time. Can you tell me how are you using themes_for_rails?
Version. Configuration (of TFR).
Execute the rake task with --trace in the end, so we can get more data about the error.
It turned out the problems has something to do with the folder structure. I have fixed the issue by moving "themes" dir from Rails.root to Rails.root/app/views .
Everything went well in the development environment. But when I run "cap deploy" (or "rake assets:precompile"), Rake aborted and gave the following log:
The "undefined method" error was caused by the following code:
It didn't have any problem until Rake. Any hints please?