I\'ve been round and round here with trying to get the assets to pre-compile on my production server (straightforward ubuntu install with ruby 1.9.2 and Rails 3.1.1, and tried 3
I ran into this exact same issue you described. My production server was Heroku (cedar stack). In my case the issue was that one of my:
require_tree ./mobile
Was pointing to a legitimate directory, but this directory had no files. On dev it didn't matter but something about the production setup was resulting in the error, “require_tree argument must be a directory”.
Hopefully that helps.