简体   繁体   English

Spree安装错误“ spree(> = 0)x86-mingw32取决于thor(= 0.15.4)”

[英]Spree install error “spree (>=0) x86-mingw32 depends on thor (=0.15.4)”

Installing spree on rails gives multiple errors for dependence on 'thor' although I have both versions in my gem list. 尽管我在gem列表中同时拥有两个版本,但在横梁上安装spree会由于依赖“ thor”而产生多个错误。

#

Bundler could not find compatible versions for gem "thor": In Gemfile: spree (>=0) x86-mingw32 depends on thor (= 0.14.6) x86-mingw32 Bundler找不到与宝石“ thor”兼容的版本:在Gemfile中:狂欢(> = 0)x86-mingw32取决于thor(= 0.14.6)x86-mingw32

 sass-rails (~> 3.23) x86-mingw32 depends on thor (= 0.15.4) 
#

NOTE: My versions used are: 注意:我使用的版本是:

rails 3.2.6 导轨3.2.6

spree 1.1.2 大礼包1.1.2

ruby 1.9.3p194 红宝石1.9.3p194

Although you're asking about a specific install error, I'm assuming that since it sounds like you're setting up a development environment that the following could be helpful: 尽管您询问的是特定的安装错误,但我假设由于这听起来像您正在设置开发环境,因此以下内容可能会有所帮助:

Setting Spree up on Windows can be a little bit of a pain, and using Vagrant and VirtualBox is a good way around the issues. 在Windows上设置Spree可能会有些麻烦,而使用Vagrant和VirtualBox是解决问题的好方法。 This Vagrant setup and bootstrap script installs more recent versions of Rails, Ruby and Spree, but you should be able to modify it to your taste (focus on bootstrap.sh): 这个Vagrant安装和引导脚本安装了最新版本的Rails,Ruby和Spree,但是您应该能够根据自己的喜好对其进行修改(关注bootstrap.sh):

https://github.com/nurelm/spree_vagrant https://github.com/nurelm/spree_vagrant

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM