的Gemfile混帳文件:錯誤而獲取使用捆紮機
source "http://rubygems.org"
gem "nokogiri", :git => "git://github.com/tenderlove/nokogiri.git"
當我運行bundle
,出現以下錯誤:
Fetching git://github.com/tenderlove/nokogiri.git
Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/source.rb:592:in ``': No such file or directory - git clone "git://github.com/tenderlove/nokogiri.git" "C:/Ruby193/lib/ruby/gems/1.9.1/cache/bundler/git/nokogiri-d4bf05cb9e65f144f074351e5ebe3a0e44c00952" --bare --no-hardlinks (Errno::ENOENT)
我該如何解決呢?
它是可重複的,不僅有這種寶石也可以與其他寶石:黃瓜,水豚
我使用Windows。
'git'命令是否工作正常? 「C:/ Ruby193/lib/ruby/gems/1.9.1/cache /」是否存在? – iltempo 2012-08-07 22:28:41
@iltempo文件夾C:/Ruby193/lib/ruby/gems/1.9.1/cache/bundler/git/存在,但它是空的 – 2012-08-08 15:57:32
有關更多詳細信息,請參見https://github.com/carlhuda/bundler/issues/2044 – 2012-08-09 14:00:45