Fatal error while executing bundle install. #2095

Closed
KaranN opened this Issue Sep 10, 2012 · 2 comments

Projects

None yet

3 participants

@KaranN

Hi,

Today i was just trying my hands on 'sunspot' and after updating my gemfile, i execute 'bundle install' command and it returns following error:

Fetching git://github.com/sunspot/sunspot.git
Unfortunately, a fatal error has occurred. Please report this error to the Bundl
er issue tracker at https://github.com/carlhuda/bundler/issues so that we can fi
x it. Please include the full output of the command, your Gemfile and Gemfile.lo
ck. Thanks!
C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/source.rb:592:in
': No such file or directory - git clone "git://github.com/sunspot/sunspot.git"
"C:/Ruby193/lib/ruby/gems/1.9.1/cache/bundler/git/sunspot-0ffe0b181b8204c1f9813
8f4145c11ba2745e31a" --bare --no-hardlinks (Errno::ENOENT)
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/sourc
e.rb:592:in git'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/sourc
e.rb:654:in
cache'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/sourc
e.rb:553:in specs'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/defin
ition.rb:430:in
block in converge_locked_specs'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/defin
ition.rb:419:in each'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/defin
ition.rb:419:in
converge_locked_specs'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/defin
ition.rb:180:in resolve'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/defin
ition.rb:127:in
specs'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/defin
ition.rb:122:in resolve_remotely!'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/insta
ller.rb:48:in
run'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/insta
ller.rb:12:in install'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/cli.r
b:220:in
install'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/vendo
r/thor/task.rb:22:in run'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/vendo
r/thor/invocation.rb:118:in
invoke_task'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/vendo
r/thor.rb:263:in dispatch'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/vendo
r/thor/base.rb:386:in
start'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/bin/bundle:13:in
<top (required)>'
from C:/Ruby193/bin/bundle:23:in
load'
from C:/Ruby193/bin/bundle:23:in `

'

My Gemfile looks like:
source 'https://rubygems.org'

gem 'rails', '3.2.3'

Bundle edge Rails instead:

gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'mysql2'
gem "paperclip", "~> 3.0.1"
gem 'sunspot', :git => "git://github.com/sunspot/sunspot.git"
gem 'sunspot_rails', :git => "git://github.com/sunspot/sunspot.git", :require => "sunspot_rails"
gem 'sunspot_cell', :git => 'git://github.com/zheileman/sunspot_cell.git'

group :development, :test do
#gem 'sunspot_solr', :git => "https://github.com/sunspot/sunspot.git", :require => "sunspot_solr"
#gem 'progress_bar'
end

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'

To use ActiveModel has_secure_password

gem 'bcrypt-ruby', '~> 3.0.0'

To use Jbuilder templates for JSON

gem 'jbuilder'

Use unicorn as the app server

gem 'unicorn'

Deploy with Capistrano

gem 'capistrano'

To use debugger

gem 'ruby-debug19', :require => 'ruby-debug'

And lastly my Gemfile.lock looks like:

GEM
remote: https://rubygems.org/
specs:
actionmailer (3.2.3)
actionpack (= 3.2.3)
mail (~> 2.4.4)
actionpack (3.2.3)
activemodel (= 3.2.3)
activesupport (= 3.2.3)
builder (~> 3.0.0)
erubis (~> 2.7.0)
journey (~> 1.0.1)
rack (~> 1.4.0)
rack-cache (~> 1.2)
rack-test (~> 0.6.1)
sprockets (~> 2.1.2)
activemodel (3.2.3)
activesupport (= 3.2.3)
builder (~> 3.0.0)
activerecord (3.2.3)
activemodel (= 3.2.3)
activesupport (= 3.2.3)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
activeresource (3.2.3)
activemodel (= 3.2.3)
activesupport (= 3.2.3)
activesupport (3.2.3)
i18n (~> 0.6)
multi_json (~> 1.0)
arel (3.0.2)
builder (3.0.0)
cocaine (0.3.0)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
railties (~> 3.2.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.3.3)
erubis (2.7.0)
execjs (1.4.0)
multi_json (~> 1.0)
hike (1.2.1)
i18n (0.6.1)
journey (1.0.4)
jquery-rails (2.1.1)
railties (>= 3.1.0, < 5.0)
thor (~> 0.14)
json (1.7.5)
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.19)
multi_json (1.3.6)
mysql2 (0.3.11-x86-mingw32)
nokogiri (1.5.5-x86-mingw32)
paperclip (3.0.4)
activemodel (>= 3.0.0)
activerecord (>= 3.0.0)
activesupport (>= 3.0.0)
cocaine (>= 0.0.2)
mime-types
polyglot (0.3.3)
pr_geohash (1.0.0)
rack (1.4.1)
rack-cache (1.2)
rack (>= 0.4)
rack-ssl (1.3.2)
rack
rack-test (0.6.1)
rack (>= 1.0)
rails (3.2.3)
actionmailer (= 3.2.3)
actionpack (= 3.2.3)
activerecord (= 3.2.3)
activeresource (= 3.2.3)
activesupport (= 3.2.3)
bundler (~> 1.0)
railties (= 3.2.3)
railties (3.2.3)
actionpack (= 3.2.3)
activesupport (= 3.2.3)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.6)
rake (0.9.2.2)
rdoc (3.12)
json (~> 1.4)
rsolr (1.0.8)
builder (>= 2.1.2)
sass (3.2.1)
sass-rails (3.2.5)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
sprockets (2.1.3)
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sunspot (1.3.3)
pr_geohash (~> 1.0)
rsolr (~> 1.0.7)
sunspot_cell (0.1.2)
sunspot (>= 1.3.0)
sunspot_rails (1.3.3)
nokogiri
sunspot (= 1.3.3)
sunspot_solr (1.3.3)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.33)
uglifier (1.3.0)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)

PLATFORMS
x86-mingw32

DEPENDENCIES
coffee-rails (~> 3.2.1)
jquery-rails
mysql2
paperclip (~> 3.0.1)
rails (= 3.2.3)
sass-rails (~> 3.2.3)
sunspot_cell
sunspot_rails
sunspot_solr
uglifier (>= 1.0.3)

@lgierth

Bundler failed to fetch the sources for some gem from GitHub. They had an outage today, guess it's related: https://status.github.com/

@rohit
C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/source.rb:592:in 
': No such file or directory - git clone "git://github.com/sunspot/sunspot.git"

Based on the above I think you don't have GIT installed. Please install GIT and try again. http://git-scm.com

I'm closing the issue, if it's still a problem feel free to reopen or leave a comment and I'll reopen.

@rohit rohit closed this Nov 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment