spree/spree — Issue #1055: undefined method 'root_url' when running assets:precompile
Author: hoverlover
Created: 2012-01-30 23:49:14+00:00
State: open

Running off of spree master, getting this error when running `rake assets:precompile`:

undefined method `root_url' for #
(in /Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/bundler/gems/spree-98d1b34c688b/core/app/assets/javascripts/store/helpers.js.erb)
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/bundler/gems/spree-98d1b34c688b/core/app/assets/javascripts/store/helpers.js.erb:3:in `evaluate_source'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb:209:in `instance_eval'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb:209:in `evaluate_source'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb:144:in `cached_evaluate'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb:127:in `evaluate'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/tilt-1.3.3/lib/tilt/template.rb:76:in `render'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/context.rb:175:in `block in evaluate'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/context.rb:172:in `each'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/context.rb:172:in `evaluate'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:171:in `build_dependency_context_and_body'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:135:in `dependency_context'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:194:in `build_dependencies_paths_and_assets'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:141:in `dependency_paths'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:61:in `mtime'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/asset.rb:58:in `block in encode_with'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/asset.rb:57:in `each'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/asset.rb:57:in `encode_with'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:43:in `encode_with'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/caching.rb:52:in `cache_asset'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/index.rb:67:in `block in build_asset'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/index.rb:76:in `memoize'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/index.rb:65:in `build_asset'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/base.rb:99:in `find_asset'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/index.rb:48:in `find_asset'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/base.rb:110:in `[]'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:200:in `block in build_dependencies_paths_and_assets'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:194:in `each'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:194:in `build_dependencies_paths_and_assets'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:141:in `dependency_paths'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:61:in `mtime'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/asset.rb:58:in `block in encode_with'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/asset.rb:57:in `each'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/asset.rb:57:in `encode_with'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:43:in `encode_with'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/caching.rb:52:in `cache_asset'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/index.rb:67:in `block in build_asset'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/index.rb:76:in `memoize'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/index.rb:65:in `build_asset'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/base.rb:99:in `find_asset'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/index.rb:48:in `find_asset'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/base.rb:110:in `[]'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:200:in `block in build_dependencies_paths_and_assets'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:194:in `each'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:194:in `build_dependencies_paths_and_assets'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:141:in `dependency_paths'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:61:in `mtime'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/asset.rb:58:in `block in encode_with'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/asset.rb:57:in `each'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/asset.rb:57:in `encode_with'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/bundled_asset.rb:43:in `encode_with'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/caching.rb:52:in `cache_asset'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/index.rb:67:in `block in build_asset'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/index.rb:76:in `memoize'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/index.rb:65:in `build_asset'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/trail.rb:102:in `find_asset_in_path'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/base.rb:101:in `find_asset'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/index.rb:48:in `find_asset'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/sprockets/static_compiler.rb:20:in `block in compile'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/base.rb:151:in `block in each_logical_path'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/base.rb:139:in `block (2 levels) in each_file'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/base.rb:129:in `each'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/base.rb:129:in `each_entry'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/base.rb:137:in `block in each_file'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/base.rb:136:in `each'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/base.rb:136:in `each_file'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/sprockets-2.0.3/lib/sprockets/base.rb:149:in `each_logical_path'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/sprockets/static_compiler.rb:18:in `compile'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/sprockets/assets.rake:52:in `internal_precompile'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/sprockets/assets.rake:66:in `block (3 levels) in '
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/sprockets/assets.rake:56:in `block (3 levels) in '
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/Users/cboyd/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `'
/Users/cboyd/.rbenv/versions/1.9.3-p0/bin/rake:19:in `load'
/Users/cboyd/.rbenv/versions/1.9.3-p0/bin/rake:19:in `

'

Seems to be the result of commit bd7d70f5f98d8fe573.