2011-02-16 201 views
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/[email protected]_gems; 

當我執行bundle show spree

#> /home/shadyfront/.rvm/gems/[email protected]/bundler/gems/spree-1706124f2f94 

而且我這裏有我的寶石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/[email protected]_gems 
    - RUBY EXECUTABLE: /home/shadyfront/.rvm/rubies/ruby-1.8.7-p330/bin/ruby 
    - EXECUTABLE DIRECTORY: /home/shadyfront/.rvm/gems/[email protected]_gems/bin 
    - RUBYGEMS PLATFORMS: 
    - ruby 
    - x86-linux 
    - GEM PATHS: 
    - /home/shadyfront/.rvm/gems/[email protected]_gems 
    - /home/shadyfront/.rvm/gems/[email protected] 
    - GEM CONFIGURATION: 
    - :update_sources => true 
    - :verbose => true 
    - :benchmark => false 
    - :backtrace => false 
    - :bulk_threshold => 1000 
    - REMOTE SOURCES: 
    - http://rubygems.org/ 

捆綁安裝每次都會通過。

回答

2

這意味着您沒有從其git存儲庫簽出的spree源代碼。您是否運行了bundle install,如錯誤消息所示?

+0

是的先生。很多次。我猜測,當我通過它在一個地方安裝它。該應用正在另一個地方尋找它。我想知道我該如何弄清楚應用程序在哪裏尋找寶石..我會更新我以上的內容 – Trip 2011-02-16 22:16:32

+0

@Trip:是的,您確實需要提供更多信息,例如實際生成錯誤消息的代碼。 – CanSpice 2011-02-16 22:17:42