狂欢安装错误:无法找到gem'spree_skrill(> = 0)ruby'

时间:2012-03-15 19:59:52

标签: ruby-on-rails spree

我是ROR的新手,现在我正在安装 Spree ,这些步骤

gem install rails -v 3.1.4
rails new mystore
cd mystore
spree install

此后显示此错误

gemfile  spree
     gemfile  spree_usa_epay
     gemfile  spree_skrill
         run  bundle install from "."
Could not find gem 'spree_skrill (>= 0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.
precompiling  assets
Could not find gem 'spree_skrill (>= 0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.

2 个答案:

答案 0 :(得分:1)

gem install spree_skrill

如果在那之后,你在这台机器上可用的宝石中找到“找不到宝石'spree_usa_epay(> = 0)ruby'。”

gem install spree_usa_epay

之后,我尝试运行>>狂欢安装再次,它工作

答案 1 :(得分:0)

在我的例子中,我得到了这个错误can't find gem spree (>= 0.a) with executable spree (Gem::GemNotFoundException)

然后我运行这个命令:

gem install spree -v '>= 0.a'

它奏效了...