Ruby on rails ';致命错误';在RubyonRails中安装bundle期间

Ruby on rails ';致命错误';在RubyonRails中安装bundle期间,ruby-on-rails,git,rubygems,bundler,ruby-on-rails-3.2,Ruby On Rails,Git,Rubygems,Bundler,Ruby On Rails 3.2,我的档案里有这个 source 'https://rubygems.org' gem 'rails', '3.2.3' # Bundle edge Rails instead: # gem 'rails', :git => 'git://github.com/rails/rails.git' gem 'sqlite3' gem "nested_form", :git => "https://github.com/ryanb/nested_form.git" gem 'laz

我的档案里有这个

source 'https://rubygems.org'

gem 'rails', '3.2.3'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'sqlite3'

gem "nested_form", :git => "https://github.com/ryanb/nested_form.git" 
gem 'lazy_high_charts', :git => "https://github.com/michelson/lazy_high_charts.git"


# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'

  # See https://github.com/sstephenson/execjs#readme for more supported runtimes
  # gem 'therubyracer', :platform => :ruby

  gem 'uglifier', '>= 1.0.3'
end

gem 'jquery-rails'
当我尝试捆绑安装时…我得到以下错误

Updating https://github.com/michelson/lazy_high_charts.git
Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Please in
clude the full output of the command, your Gemfile and Gemfile.lock. Thanks!
C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/source.rb:578:in ``': No such file or directory - git fetch --force --quiet --tags "https://github.com/michel
son/lazy_high_charts.git" "refs/heads/*:refs/heads/*" (Errno::ENOENT)
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/source.rb:578:in `git'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/source.rb:533:in `block in checkout'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/source.rb:620:in `chdir'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/source.rb:620:in `in_path'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/source.rb:532:in `checkout'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/source.rb:760:in `specs'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/definition.rb:486:in `block in converge_locked_specs'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/definition.rb:475:in `each'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/definition.rb:475:in `converge_locked_specs'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/definition.rb:166:in `resolve'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/definition.rb:113:in `specs'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/definition.rb:108:in `resolve_remotely!'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/installer.rb:81:in `run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/installer.rb:14:in `install'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/cli.rb:224:in `install'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/vendor/thor/task.rb:22:in `run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/vendor/thor.rb:263:in `dispatch'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/lib/bundler/vendor/thor/base.rb:386:in `start'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.0.pre/bin/bundle:13:in `<top (required)>'
        from C:/Ruby193/bin/bundle:23:in `load'
        from C:/Ruby193/bin/bundle:23:in `<main>'
捆绑安装进行得非常完美…出现了什么问题??我如何修复它???我正在使用Windows7。提前感谢。

FWIW:

在我的例子中,它归结为shell没有找到
git
二进制文件

我打开了一个GitHub外壳,因为我安装了GitHub客户端,而这次的
捆绑安装
工作得非常完美。

FWIW:

在我的例子中,它归结为shell没有找到
git
二进制文件


我打开了一个GitHub Shell,因为我已经安装了GitHub客户端,而这次的
捆绑安装
工作得非常完美。

作为一种绕过的方法,你可以下载这些gem并指定它们的路径
:path=>“/path/to/gem”
。至于修复,请检查您的git安装,尝试使用rails安装程序重新安装rails。。。这是windows,通常没有明显的方法来修复错误)感谢Mikhail我重新安装了,现在一切正常:)作为一种绕过的方法,您可以下载这些gem并指定它们的路径
:path=>“/path/to/gem”
。至于修复,请检查您的git安装,尝试使用rails安装程序重新安装rails。。。这是windows,通常没有明显的方法来修复错误)谢谢Mikhail,我重新安装了,现在一切正常:)
:git => "https://github.com/ryanb/nested_form.git" 
:git => "https://github.com/michelson/lazy_high_charts.git"