[英]Spree Existing Authentication Integration Install
我目前正在探索將Spree Commerce引擎集成到現有的Rails應用程序中。 標准安裝沒有問題,但是嘗試使用現有的devise用戶模型失敗並出現此錯誤。 也許這種方法是錯誤的。 我有一個帶有bootstrap / devise / cancun等的應用程序。我想使用現有的應用程序和用戶模型將spree掛載為/ store。 一切保持不變,但/ 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' ^
任何對方法或此錯誤的想法將不勝感激。
我只是注意到狂歡安裝在同一行上插入了狂歡的寶石。 更正該問題並運行捆綁器。
碰到cancan的依賴項錯誤。 Spree想要1.6.8,所以我恢復了該版本。
再次安裝並正確安裝。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.