Ruby on rails Bundler似乎安装了gem,但收到gem“;“未签出”;启动web服务时出错

Ruby on rails Bundler似乎安装了gem,但收到gem“;“未签出”;启动web服务时出错,ruby-on-rails,ruby-on-rails-3,rvm,bundler,spree,Ruby On Rails,Ruby On Rails 3,Rvm,Bundler,Spree,我正在尝试安装spree_批发gem,但在启动passenger时收到错误: git://github.com/citrus/spree_wholesale (at 0.60.x) is not checked out. Please run `bundle install` (Bundler::GitError) 这是我的档案: source 'http://rubygems.org' gem 'rails', '3.0.9' gem 'passenger', '3.0.2' gem 'm

我正在尝试安装spree_批发gem,但在启动passenger时收到错误:

git://github.com/citrus/spree_wholesale (at 0.60.x) is not checked out. Please run `bundle install` (Bundler::GitError)
这是我的档案:

source 'http://rubygems.org'

gem 'rails', '3.0.9'
gem 'passenger', '3.0.2'
gem 'mysql', '2.8.1'
gem 'spree', '0.60.1'
gem 'spree_wholesale', :git => 'git://github.com/citrus/spree_wholesale', :branch => '0.60.x'
这是我运行“bundle安装”时的输出

me@me:~/w8_test$ bundle install
Using rake (0.8.7) 
Using abstract (1.0.0) 
Using activesupport (3.0.9) 
Using builder (2.1.2) 
Using i18n (0.5.0) 
Using activemodel (3.0.9) 
Using erubis (2.6.6) 
Using rack (1.2.3) 
Using rack-mount (0.6.14) 
Using rack-test (0.5.7) 
Using tzinfo (0.3.29) 
Using actionpack (3.0.9) 
Using mime-types (1.16) 
Using polyglot (0.3.2) 
Using treetop (1.4.10) 
Using mail (2.2.19) 
Using actionmailer (3.0.9) 
Using braintree (2.10.2) 
Using activemerchant (1.15.0) 
Using arel (2.0.10) 
Using activerecord (3.0.9) 
Using activeresource (3.0.9) 
Using acts_as_list (0.1.2) 
Using bcrypt-ruby (2.1.4) 
Using bundler (1.0.17) 
Using cancan (1.6.4) 
Using daemon_controller (0.2.6) 
Using orm_adapter (0.0.5) 
Using warden (1.0.5) 
Using devise (1.3.3) 
Using faker (0.9.5) 
Using fastthread (1.0.7) 
Using spruz (0.2.7) 
Using file-tail (1.0.5) 
Using highline (1.5.1) 
Using rdoc (3.9.1) 
Using thor (0.14.6) 
Using railties (3.0.9) 
Using rails (3.0.9) 
Using jquery-rails (0.2.6) 
Using meta_search (1.0.5) 
Using mysql (2.8.1) 
Using nested_set (1.6.6) 
Using paperclip (2.3.11) 
Using passenger (3.0.2) 
Using rd_find_by_param (0.1.1) 
Using rd_resource_controller (1.0.1) 
Using rd_unobtrusive_date_picker (0.1.0) 
Using state_machine (0.9.4) 
Using stringex (1.0.3) 
Using will_paginate (3.0.pre2) 
Using spree_core (0.60.1) 
Using spree_auth (0.60.1) 
Using spree_api (0.60.1) 
Using spree_dash (0.60.1) 
Using spree_promo (0.60.1) 
Using spree_sample (0.60.1) 
Using spree (0.60.1) 
Using spree_wholesale (0.59.0.0) from git://github.com/citrus/spree_wholesale (at 0.60.x) 
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
此处是安装gem的位置:

me@me:~/w8_test$ bundle show spree_wholesale
/home/dan/.rvm/gems/ruby-1.9.2-p180@w8_test/bundler/gems/spree_wholesale-a74adcb64660

版本0.60是必需的,但您得到了0.59。尝试
bundle update spree\u批发


在您所引用的分支中,

可能与Spree版本有关,但在我的案例中,我甚至没有使用Spree,因此出现了这个问题

我花了一个星期的时间试图解决类似的问题。以下所有故障排除步骤最终解决了此问题:


祝你好运

你知道我在Gemfile中指定:branch=>'0.60.x'时为什么它将spree\u批发价拉到0.59吗?我刚刚尝试了“bundle update spree\u批发价”,但它仍然是0.59。以下是输出:“使用spree_批发(0.59.0.0)从git://github.com/citrus/spree_wholesale (0.60.x)“是的,看看