2012-12-16 78 views
0

當我在一個新的Rails項目安裝大禮包我獲得以下錯誤:Ruby on Rails的熱潮電子商務

git://github.com/spree/spree_auth_devise.git (at 1-2-stable) is not checked out. Please run 'bundle install' 

*Would you like to install the default gateways? (yes/no) [yes] yes Would you like to install the default authentication system? (yes/no) 
[yes] yes Would you like to run the migrations? (yes/no) [yes] yes 
Would you like to load the seed data? (yes/no) [yes] yes Would you 
like to load the sample data? (yes/no) [yes] yes 
    gemfile spree 
    gemfile spree_usa_epay 
    gemfile spree_skrill 
    gemfile spree_auth_devise 
     run bundle install from "." C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/source.rb:582:in 
' '': No such file or directory - git clone 
"git://github.com/spree/spree_auth_dev ise.git" 
"C:/Ruby193/lib/ruby/gems/1.9.1/cache/bundler/git/spree_auth_devise-683 
51354588ecb7fa5d7bc278ebd86436a50d33d" --bare --no-hardlinks 
(Errno::ENOENT) 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/source.rb:582:in 'git' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/source.rb:543:in 'checkout' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/source.rb:769:in 'specs' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/definition.rb:491:in 'block in converge_locked_specs' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/definition.rb:480:in 'each' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/definition.rb:480:in 'converge_locked_specs' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/definition.rb:166:in 'resolve' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/definition.rb:113:in 'specs' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/definition.rb:108:in 'resolve_remotely!' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/installer.rb:81:in 'run' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/installer.rb:14:in 'install' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/cli.rb:230:in 'install' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/vendor/thor/task.rb:27:in 'run' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/vendor/thor/invocation.rb:120:in 'invoke_task' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/vendor/thor.rb:275:in 'dispatch' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/vendor/thor/base.rb:408:in 'start' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/bin/bundle:14:in 'block in <top (required)>' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/friendly_errors.rb:4:in 'with_friendly_errors' 
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/bin/bundle:14:in '<top (required)>' 
    from C:/Ruby193/bin/bundle:23:in 'load' 
    from C:/Ruby193/bin/bundle:23:in '<main>' git://github.com/spree/spree_auth_devise.git (at 1-2-stable) is not checked out. Please run 'bundle install' 
+1

你需要更好地格式化你的問題。這是一團糟。使用可用的格式工具。並告訴我們你試圖解決這個問題。 – simonmorley

+1

我清理了錯誤文本,但在將來提交問題時請花時間這樣做。我們正在努力幫助你,並希望你能幫助我們做到這一點;寫一個可以理解的問題,提供必要的信息,以便我們可以找到我們需要的東西。 –

回答

0

看起來有在你的Gemfile spree_auth_devise在GitHub的URL的空間。編輯文件時,您可能會意外地將它放在那裏。清除並重新運行bundle install,看看是否有效。

1

的線索是在這裏:

run bundle install from "." C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/source.rb:582:in 
' '': No such file or directory - git clone 

您是從沒有「混帳」在其路徑Windows控制檯內運行此。要麼從Git Bash控制檯運行它,要麼將git添加到路徑中。

相關問題