ndbroadbent / turbo-sprockets-rails3

Speeds up your Rails 3 assets:precompile by only recompiling changed files, and only compiling once to generate all assets
MIT License
976 stars 78 forks source link

SystemStackError: stack level too deep #112

Open dashbitla opened 8 years ago

dashbitla commented 8 years ago

When I use this Gem, assets:precompile fails with Stack level too deep error.

Without this Gem there are no errors. What could be wrong? We have 1000+ themes with 50000+ files total assets ... tried increasing the ulimit size to the unlimited. but still an issue.

How to get rid of "stack level too deep" error?

rake aborted! SystemStackError: stack level too deep /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/task.rb:183 Tasks: TOP => assets:precompile:all rake aborted! Command failed with status (1): [/Users/pussuser/.rvm/rubies/ruby-1.9.3-p5...] /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/file_utils.rb:67:in block in create_shell_runner' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/file_utils.rb:57:incall' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/file_utils.rb:57:in sh' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/file_utils_ext.rb:37:insh' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/file_utils.rb:94:in ruby' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/file_utils_ext.rb:37:inruby' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/actionpack-3.2.11/lib/sprockets/assets.rake:12:in ruby_rake_task' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/actionpack-3.2.11/lib/sprockets/assets.rake:21:ininvoke_or_reboot_rake_task' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/actionpack-3.2.11/lib/sprockets/assets.rake:29:in block (2 levels) in <top (required)>' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/task.rb:240:incall' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/task.rb:240:in block in execute' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/task.rb:235:ineach' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/task.rb:235:in execute' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/task.rb:179:inblock in invoke_with_call_chain' /Users/pussuser/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/task.rb:172:ininvoke_with_call_chain' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/task.rb:165:in invoke' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/application.rb:150:ininvoke_task' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/application.rb:106:in block (2 levels) in top_level' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/application.rb:106:ineach' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/application.rb:106:in block in top_level' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/application.rb:115:inrun_with_threads' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/application.rb:100:in top_level' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/application.rb:78:inblock in run' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/application.rb:176:in standard_exception_handling' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/application.rb:75:inrun' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/bin/rake:33:in <top (required)>' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/bin/rake:23:inload' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/bin/rake:23:in <main>' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/bin/ruby_executable_hooks:15:ineval' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/bin/ruby_executable_hooks:15:in `

' Tasks: TOP => assets:precompile

real 23m29.210s user 30m56.259s sys 4m25.699s