Bundler似乎安装了gem,但是接收gem“未签出”启动网络服务时出错

发布于 2024-11-29 16:08:03 字数 2404 浏览 2 评论 0原文

我正在尝试安装 spree_wholesale gem,但在启动乘客时收到错误:

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

这是我的 Gemfile:

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 install”时的输出

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

I'm trying to install the spree_wholesale gem but receiving an error when I start passenger:

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

Here is my Gemfile:

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'

Here is the output when I run 'bundle install'

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.

Here is where the gem is installed:

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

屋顶上的小猫咪 2024-12-06 16:08:03

需要 0.60 版本,但你得到的是 0.59。尝试捆绑更新 spree_wholesale

在您引用的分支中,版本为 0.59

Version 0.60 is required but you got 0.59. Try bundle update spree_wholesale.

In the branch you are referencing, the version is 0.59

乱了心跳 2024-12-06 16:08:03

也许它确实与 Spree 版本有关,但就我而言,我什至没有使用 Spree 并且遇到了这个问题。

我花了一周的时间尝试一切方法来解决类似的问题。遵循此处的所有故障排除步骤最终解决了该问题:

https://github.com/ carlhuda/bundler/blob/master/ISSUES.md

祝你好运!

Perhaps it does have something to do with Spree versions but, in my case, I wasn't even using Spree and was having this issue.

I've spent a week trying everything to resolve a similar issue. Following ALL of the troubleshooting steps here finally resolved it:

https://github.com/carlhuda/bundler/blob/master/ISSUES.md

Good luck!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文