Open felixbuenemann opened 11 years ago
If one of the asset files does not exists, precompile with turbo-sprockets-rails 0.3.6 will thrown an exception.
The problem is caused by Sprockets::StaticNoDigestGenerator#generate line 39:
mtime = File.mtime(abs_digest_path)
I think the code should catch Errno::ENOENT and just recreate the file.
Errno::ENOENT
If one of the asset files does not exists, precompile with turbo-sprockets-rails 0.3.6 will thrown an exception.
The problem is caused by Sprockets::StaticNoDigestGenerator#generate line 39:
I think the code should catch
Errno::ENOENT
and just recreate the file.