Ruby on rails Spree安装错误“;spree(>;=0)x86-mingw32取决于thor(=0.15.4)";

Ruby on rails Spree安装错误“;spree(>;=0)x86-mingw32取决于thor(=0.15.4)";,ruby-on-rails,spree,thor,Ruby On Rails,Spree,Thor,在rails上安装spree会因依赖“thor”而出现多个错误,尽管我的gem列表中有这两个版本 # Bundler找不到gem“thor”的兼容版本: 在文件中: spree(>=0)x86-mingw32取决于 thor(=0.14.6)x86-mingw32 sass-rails (~> 3.23) x86-mingw32 depends on thor (= 0.15.4) # 注意:我使用的版本是: 轨道3.2.6 spree 1.1.2 ruby 1.9.3p194尽管

在rails上安装spree会因依赖“thor”而出现多个错误,尽管我的gem列表中有这两个版本

# Bundler找不到gem“thor”的兼容版本: 在文件中: spree(>=0)x86-mingw32取决于 thor(=0.14.6)x86-mingw32

sass-rails (~> 3.23) x86-mingw32 depends on 
  thor (= 0.15.4)
# 注意:我使用的版本是:

轨道3.2.6

spree 1.1.2


ruby 1.9.3p194

尽管您询问的是一个特定的安装错误,但我假设,由于听起来您正在设置一个开发环境,以下内容可能会有所帮助:

在Windows上设置Spree可能有点痛苦,使用Vagrant和VirtualBox是解决这些问题的好方法。这个Vagrant setup和bootstrap脚本安装了Rails、Ruby和Spree的最新版本,但您应该能够根据自己的喜好对其进行修改(关注bootstrap.sh):