public
Created

bug stacktrace for rails bug #1732

  • Download Gist
rails_bug_1732.stacktrace.log
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
$ bundle exec rake assets:precompile --trace
** Invoke assets:precompile (first_time)
** Invoke assets:ensure_env (first_time)
** Execute assets:ensure_env
** Execute assets:precompile
** Invoke environment (first_time)
** Execute environment
rake aborted!
wrong number of arguments (3 for 1)
(in /Users/deepak/Developer/bugmash-2011/issue-1732/app/assets/javascripts/posts.js.erb:1)
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/directive_processor.rb:237:in `process_require_directive'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/directive_processor.rb:195:in `block in process_directives'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/directive_processor.rb:193:in `each'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/directive_processor.rb:193:in `process_directives'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/directive_processor.rb:61:in `evaluate'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/tilt-1.3.2/lib/tilt/template.rb:76:in `render'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/context.rb:107:in `block in evaluate'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/context.rb:104:in `each'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/context.rb:104:in `evaluate'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/bundled_asset.rb:22:in `initialize'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/environment_index.rb:118:in `new'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/environment_index.rb:118:in `build_asset'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/environment_index.rb:64:in `find_asset'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/bundled_asset.rb:96:in `block in compute_dependencies!'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/bundled_asset.rb:92:in `each'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/bundled_asset.rb:92:in `compute_dependencies!'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/bundled_asset.rb:31:in `initialize'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/environment_index.rb:118:in `new'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/environment_index.rb:118:in `build_asset'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/environment_index.rb:100:in `find_asset_in_path'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/static_compilation.rb:26:in `block (2 levels) in precompile'
/Users/deepak/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/set.rb:222:in `block in each'
/Users/deepak/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/set.rb:222:in `each_key'
/Users/deepak/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/set.rb:222:in `each'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/static_compilation.rb:19:in `block in precompile'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/static_compilation.rb:18:in `each'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/static_compilation.rb:18:in `precompile'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/sprockets-2.0.0.beta.10/lib/sprockets/environment.rb:72:in `precompile'
/Users/deepak/Developer/rails/actionpack/lib/sprockets/assets.rake:14:in `block (2 levels) in <top (required)>'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/rake-0.9.2/lib/rake/task.rb:205:in `call'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/rake-0.9.2/lib/rake/task.rb:205:in `block in execute'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/rake-0.9.2/lib/rake/task.rb:200:in `each'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/rake-0.9.2/lib/rake/task.rb:200:in `execute'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/rake-0.9.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/deepak/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/rake-0.9.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/rake-0.9.2/lib/rake/task.rb:144:in `invoke'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/rake-0.9.2/lib/rake/application.rb:112:in `invoke_task'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/rake-0.9.2/lib/rake/application.rb:90:in `block (2 levels) in top_level'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/rake-0.9.2/lib/rake/application.rb:90:in `each'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/rake-0.9.2/lib/rake/application.rb:90:in `block in top_level'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/rake-0.9.2/lib/rake/application.rb:84:in `top_level'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/rake-0.9.2/lib/rake/application.rb:62:in `block in run'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/rake-0.9.2/lib/rake/application.rb:59:in `run'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/gems/rake-0.9.2/bin/rake:32:in `<top (required)>'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/bin/rake:19:in `load'
/Users/deepak/.rvm/gems/ruby-1.9.2-p180@issue-2143/bin/rake:19:in `<main>'
Tasks: TOP => assets:precompile

Did you find the solution to this problem with .js.erb files? I just ran into it myself....

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.