I'm getting a "Bignum too big to conver into long( Range Error )"
error when I run "bundle install" on my staging server via a
capistrano recipe. My staging server is
Fedora 13 using Rails 2.3.5 and Bundler 1.0.7. Runing bundle install
causes bundler
to run for longer than I'm used to and then it crashes.
Here is the command that fails:
--------------CMD THAT FAILS-----------
cd /home/user/project/staging/releases/20101214054349 && bundle
install
------------ ERROR--------------
** [out ::
staging.project.com] Fetching source index for
http://rubygems.org/
*** [err ::
staging.project.com] /usr/lib/ruby/site_ruby/1.8/rubygems/
requirement.rb:109:in `hash'
*** [err ::
staging.project.com] :
*** [err ::
staging.project.com] bignum too big to convert into `long'
*** [err ::
staging.project.com] (
*** [err ::
staging.project.com] RangeError
*** [err ::
staging.project.com] )
*** [err ::
staging.project.com] from /usr/lib/ruby/site_ruby/1.8/
rubygems/requirement.rb:109:in `hash'
*** [err ::
staging.project.com] from /usr/lib/ruby/site_ruby/1.8/
rubygems/specification.rb:675:in `hash'
*** [err ::
staging.project.com] from /usr/lib/ruby/1.8/fileutils.rb:
243:in `inject'
*** [err ::
staging.project.com] from /usr/lib/ruby/site_ruby/1.8/
rubygems/specification.rb:674:in `each'
*** [err ::
staging.project.com] from /usr/lib/ruby/site_ruby/1.8/
rubygems/specification.rb:674:in `inject'
*** [err ::
staging.project.com] from /usr/lib/ruby/site_ruby/1.8/
rubygems/specification.rb:674:in `hash'
*** [err ::
staging.project.com] from /usr/lib/ruby/1.8/tsort.rb:
181:in `include?'
*** [err ::
staging.project.com] from /usr/lib/ruby/1.8/tsort.rb:
181:in `each_strongly_connected_component'
*** [err ::
staging.project.com] ... 15 levels...
*** [err ::
staging.project.com] from /usr/lib/ruby/gems/1.8/gems/
bundler-1.0.7/lib/bundler/vendor/thor/base.rb:389:in `start'
*** [err ::
staging.project.com] from /usr/lib/ruby/gems/1.8/gems/
bundler-1.0.7/bin/bundle:13
*** [err ::
staging.project.com] from /usr/bin/bundle:19:in `load'
*** [err ::
staging.project.com] from /usr/bin/bundle:19
-----------------------------------------------------------------
Here is my Gem file
---------GEM FILE---------
source "
http://rubygems.org"
gem 'acts-as-taggable-on'
gem 'authlogic'
gem 'bundler'
gem 'capistrano'
gem 'capybara', :group=>:test
gem 'cucumber', :group=>:test
gem 'cucumber-rails', :group=>:test
gem 'daemons', '1.0.10'
gem 'database_cleaner', :group=>:test
gem 'delayed_job'
gem 'easy_roles'
gem 'factory_girl', :group=>[:test, :cucumber]
gem 'highlight'
gem 'mysql'
gem 'nifty-generators', :group=>:development
gem 'paperclip'
gem 'rack'
gem 'rails', '2.3.5'
gem 'rspec', '1.3.1', :group=>:test
gem 'rspec-rails'
gem 'ruby-debug', '0.10.3'
gem 'selenium-client', :group=>:test
gem 'sqlite3-ruby', :group=>[:development, :test]
gem 'test-unit', '1.2.3', :group=>:test
gem 'ZenTest'
--------------------------------------
I wonder if any one has seen something similar or what kinds of things
might cause this? I also wonder if my issue may be related to this
link:
http://groups.google.com/group/ruby-bundler/browse_thread/thread/83446b8019a59408/f0bdfce107d94cb2?lnk=gst&q=infinite#f0bdfce107d94cb2