我正在尝试在Heroku上配置Spree,我已经运行了网站 离线使用瘦,但每次都会抛出错误
“注册计算器计算器错误:: 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
我该如何解决这个问题?
由于
答案 0 :(得分:0)
也许这对你有帮助...... price-bucket-calculator
答案 1 :(得分:0)
我通过更改gemfile中的gem加载顺序解决了这个问题,如下面的URL所示: