【问题标题】:Spree install error "spree (>=0) x86-mingw32 depends on thor (=0.15.4)"大礼包安装错误“大礼包(> = 0)x86-mingw32取决于雷神(= 0.15.4)”
【发布时间】:2012-07-26 14:48:33
【问题描述】:

在 Rails 上安装 spree 会导致依赖于 'thor' 的多个错误,尽管我的 gem 列表中有这两个版本。

#

Bundler 找不到 gem "thor" 的兼容版本: 在 Gemfile 中: spree (>=0) x86-mingw32 取决于 雷神 (= 0.14.6) x86-mingw32

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

注意:我使用的版本是:

导轨 3.2.6

大礼包 1.1.2

红宝石 1.9.3p194

【问题讨论】:

    标签: ruby-on-rails spree thor


    【解决方案1】:

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

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

    https://github.com/nurelm/spree_vagrant

    【讨论】:

      猜你喜欢
      • 2016-06-04
      • 1970-01-01
      • 2011-05-09
      • 1970-01-01
      • 1970-01-01
      • 2023-03-23
      • 1970-01-01
      • 2012-12-27
      • 2017-04-30
      相关资源
      最近更新 更多