RSpace/spree-heroku — Issue #5:  uninitialized constant Image::RAILS_ROOT (NameError)
Author: ChrisBeeson
Created: 2011-10-31 05:28:07+00:00
State: open

Hi I'm getting this error - any help would be muchly appreciated

/app/.bundle/gems/ruby/1.9.1/bundler/gems/spree-heroku-dcbfd972c774/app/models/image.rb:8:in `': uninitialized constant Image::RAILS_ROOT (NameError)
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/bundler/gems/spree-heroku-dcbfd972c774/app/models/image.rb:1:in `'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/spree_core-0.70.1/app/helpers/spree/base_helper.rb:54:in `'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/spree_core-0.70.1/app/helpers/spree/base_helper.rb:1:in `'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/abstract_controller/helpers.rb:135:in `block in modules_for_helpers'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/abstract_controller/helpers.rb:131:in `map!'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/abstract_controller/helpers.rb:131:in `modules_for_helpers'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/action_controller/metal/helpers.rb:89:in `modules_for_helpers'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/abstract_controller/helpers.rb:95:in `helper'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/abstract_controller/helpers.rb:159:in `default_helper_module!'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/abstract_controller/helpers.rb:22:in `block in inherited'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/abstract_controller/helpers.rb:22:in `class_eval'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/abstract_controller/helpers.rb:22:in `inherited'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/action_controller/metal/hide_actions.rb:32:in `inherited'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/action_controller/metal/params_wrapper.rb:130:in `inherited'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/abstract_controller/railties/routes_helpers.rb:7:in `block (2 levels) in with'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.1.1/lib/action_controller/railties/paths.rb:7:in `block (2 levels) in with'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/spree_core-0.70.1/app/controllers/spree/base_controller.rb:1:in `'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/spree_core-0.70.1/app/controllers/admin/base_controller.rb:1:in `'
2011-10-31T05:23:33+00:00 app[web.1]:	from /app/.bundle/gems/ruby/1.9.1/gems/spree_core-0.70.1/app/controllers/admin/orders_controller.rb:1:in `'
2011-10-31T05:23:33+00:00 app[web.1]:	from /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/bin/thin:6:in `'
2011-10-31T05:23:33+00:00 app[web.1]:	from /usr/ruby1.9.2/bin/thin:19:in `load'
2011-10-31T05:23:33+00:00 heroku[web.1]: Process exited