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
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'
Tasks: TOP => assets:precompile
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:in
call' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/file_utils.rb:57:insh' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/file_utils_ext.rb:37:in
sh' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/file_utils.rb:94:inruby' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/file_utils_ext.rb:37:in
ruby' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/actionpack-3.2.11/lib/sprockets/assets.rake:12:inruby_rake_task' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/actionpack-3.2.11/lib/sprockets/assets.rake:21:in
invoke_or_reboot_rake_task' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/actionpack-3.2.11/lib/sprockets/assets.rake:29:inblock (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:in
call' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/task.rb:240:inblock in execute' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/task.rb:235:in
each' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/task.rb:235:inexecute' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/task.rb:179:in
block in invoke_with_call_chain' /Users/pussuser/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/monitor.rb:211:inmon_synchronize' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/task.rb:172:in
invoke_with_call_chain' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/task.rb:165:ininvoke' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/application.rb:150:in
invoke_task' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/application.rb:106:inblock (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:in
each' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/application.rb:106:inblock in top_level' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/application.rb:115:in
run_with_threads' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/application.rb:100:intop_level' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/application.rb:78:in
block in run' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/application.rb:176:instandard_exception_handling' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/gems/rake-10.4.2/lib/rake/application.rb:75:in
run' /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:in
load' /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:in
eval' /Users/pussuser/.rvm/gems/ruby-1.9.3-p551@BertyApp/bin/ruby_executable_hooks:15:in `real 23m29.210s user 30m56.259s sys 4m25.699s