这个错误是什么意思?

发布于 2024-10-17 15:39:28 字数 1501 浏览 3 评论 0原文

只是在这里寻找一个超级简单的答案。

我的应用程序返回以下内容:

Error message:
    git://github.com/spree/spree.git (at master) is not checked out. Please run `bundle install` (Bundler::GitError)
Exception class:
    PhusionPassenger::UnknownError
Application root:
    /home/shadyfront/webapps/revolting_age/Age-of-Revolt

“未签出”是什么意思?

我的 nginx.conf 中有:

env    GEM_HOME=/home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolting_gems;

当我执行 bundle show spree 时:

#> /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolt/bundler/gems/spree-1706124f2f94

并且我的 gem env 中有:

RubyGems Environment:
  - RUBYGEMS VERSION: 1.5.2
  - RUBY VERSION: 1.8.7 (2010-12-23 patchlevel 330) [i686-linux]
  - INSTALLATION DIRECTORY: /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolting_gems
  - RUBY EXECUTABLE: /home/shadyfront/.rvm/rubies/ruby-1.8.7-p330/bin/ruby
  - EXECUTABLE DIRECTORY: /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolting_gems/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-linux
  - GEM PATHS:
     - /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolting_gems
     - /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/

bundle install 每次都会通过。

Just looking for a super simple answer here.

My app returns this :

Error message:
    git://github.com/spree/spree.git (at master) is not checked out. Please run `bundle install` (Bundler::GitError)
Exception class:
    PhusionPassenger::UnknownError
Application root:
    /home/shadyfront/webapps/revolting_age/Age-of-Revolt

What does that mean, "is not checked out" ?

I have here in my nginx.conf :

env    GEM_HOME=/home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolting_gems;

When I perform bundle show spree:

#> /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolt/bundler/gems/spree-1706124f2f94

And I have here in my gem env:

RubyGems Environment:
  - RUBYGEMS VERSION: 1.5.2
  - RUBY VERSION: 1.8.7 (2010-12-23 patchlevel 330) [i686-linux]
  - INSTALLATION DIRECTORY: /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolting_gems
  - RUBY EXECUTABLE: /home/shadyfront/.rvm/rubies/ruby-1.8.7-p330/bin/ruby
  - EXECUTABLE DIRECTORY: /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolting_gems/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-linux
  - GEM PATHS:
     - /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@revolting_gems
     - /home/shadyfront/.rvm/gems/ruby-1.8.7-p330@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/

bundle install passes everytime.

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

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

发布评论

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

评论(2

心意如水 2024-10-24 15:39:28

这意味着您没有从 git 存储库中签出 spree 的源代码。您是否按照错误消息提示运行了bundle install

It means you don't have the source code for spree checked out from its git repository. Have you run bundle install like the error message suggests?

忆依然 2024-10-24 15:39:28

您尝试过捆绑包吗?看起来与此问题类似: 使用bundler和phusion乘客部署rails3应用程序:找不到.bundle目录

Have you tried bundle pack? Looks like a similar problem to this question: deploying rails3 apps with bundler and phusion passenger: .bundle dir not found

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