我正在尝试配置Heroku上的狂欢节,我让这个网站使用瘦的离线运行,但是它会时不时地抛出错误。
“错误注册计算器计算器::PriceBucket”
我已经尝试过将config.cache_classes设置为on和off
另外,我的gem文件配置如下所示
source 'http://rubygems.org'
# Generic gem dependencies first
gem 'rails', '3.0.7'
gem 'sqlite3', :group => :development
gem 'aws-s3'
# Followed by spree itself first, all spree-specific extensions second
gem 'spree', :git => 'git://github.com/spree/spree.git'
gem 'spree_active_shipping', :git => 'git://github.com/spree/spree_active_shipping.git'
gem 'spree_product_assembly', :git => 'git://github.com/spree/spree-product-assembly.git'
gem 'spree_static_content', :git => 'git://github.com/spree/spree_static_content.git'
gem 'spree_heroku', '1.0.0', :git => 'git://github.com/paxer/spree-heroku.git'
# EOFs正如这里所建议的,http://railsdog.lighthouseapp.com/projects/31096/tickets/1777-error-registering-calculator-calculatorpricebucket
我怎么才能解决这个问题?
谢谢
发布于 2011-04-13 13:06:10
也许这对你有帮助..。价格桶计算器
发布于 2011-07-17 03:29:05
我通过更改gem文件中的加载顺序来解决这个问题,如下所示:
http://railsdog.lighthouseapp.com/projects/31096/tickets/1777-error-registering-calculator-calculatorpricebucket
https://stackoverflow.com/questions/5525669
复制相似问题