Spree现有身份验证集成安装

时间:2013-04-01 15:09:25

标签: ruby-on-rails e-commerce spree

我目前正在探索将Spree Commerce引擎集成到现有的rails应用程序中。标准安装没有问题,但尝试使用现有的设计用户模型失败并出现此错误。也许这种方法是错误的。我有一个带bootstrap / devise / cancun等的应用程序。我想使用现有的应用程序和用户模型将spree挂载为/ store。一切都保持不变,但/商店都是Spree

Would you like to install the default gateways? (Recommended) (yes/no) [yes] yes
Would you like to install the default authentication system? (yes/no) [yes] no
What is the name of the class representing users within your application? [User] User
Would you like to run the migrations? (yes/no) [yes] yes
Would you like to load the seed data? (yes/no) [yes] yes
Would you like to load the sample data? (yes/no) [yes] yes
 gemfile  spree
 gemfile  spree_gateway
     run  bundle install from "."
Gemfile syntax error:
...platforms => [:mri_19, :rbx]gem 'spree', '1.3.2'
...   

The Gem file is giving an error for this insert by the install routine
gem "binding_of_caller", ">= 0.7.1", :group => :development, :platforms => [:mri_19, :rbx]gem 'spree', '1.3.2'                            ^

对方法或此错误的任何想法都将不胜感激。

1 个答案:

答案 0 :(得分:0)

我刚注意到spree install在同一行插入了spree的gem。更正了并运行了捆绑包。

进入cancan的依赖性错误。 Spree想要1.6.8,所以我恢复了那个版本。

再次安装并安装正确。