Unable to update gems

E

Eswar Vandanapu

Roger said:
gem env would be good, too.

C:\Program Files\NetBeans 6.7 M2\ruby2\jruby-1.1.4\bin>gem update
--backtrace
Updating installed gems
Updating actionmailer
ERROR: While executing gem ... (RangeError)
integer 2953686243 too big to convert to `int'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader/entry.rb:83:in
`read'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/format.rb:75:in
`from_io'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader.rb:46:in
`each'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader.rb:37:in
`loop'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader.rb:37:in
`each'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb:127:in
`each'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader.rb:20:in
`new'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb:126:in
`each'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader.rb:46:in
`each'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader.rb:37:in
`loop'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader.rb:37:in
`each'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb:121:in
`each'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/format.rb:71:in
`from_io'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb:20:in
`open'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/package.rb:56:in
`open'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/format.rb:67:in
`from_io'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/format.rb:51:in
`from_file_by_path'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/format.rb:50:in
`open'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/format.rb:50:in
`from_file_by_path'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/installer.rb:114:in
`initialize'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:236:in
`install'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:219:in
`each'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:219:in
`install'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:85:in
`execute'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:81:in
`each'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb:81:in
`execute'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/command.rb:136:in
`invoke'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:105:in
`process_args'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:75:in
`run'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:39:in
`run'
C:\Program Files\NetBeans 6.7 M2\ruby2\jruby-1.1.4\bin\gem:24

C:\Program Files\NetBeans 6.7 M2\ruby2\jruby-1.1.4\bin>

C:\Program Files\NetBeans 6.7 M2\ruby2\jruby-1.1.4\bin>gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.1
- RUBY VERSION: 1.8.6 (2008-08-28 patchlevel 114) [java]
- INSTALLATION DIRECTORY: C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/gems/1.8
- RUBY EXECUTABLE: C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/bin/jruby.bat
- EXECUTABLE DIRECTORY: C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/bin
- RUBYGEMS PLATFORMS:
- ruby
- universal-java-1.6
- GEM PATHS:
- C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/gems/1.8
- C:/Documents and Settings/evandana.ST-USERS/.gem/jruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "install" => "--env-shebang"
- "update" => "--env-shebang"
- REMOTE SOURCES:
- http://gems.rubyforge.org/

C:\Program Files\NetBeans 6.7 M2\ruby2\jruby-1.1.4\bin>
 
E

Eric Hodel

C:\Program Files\NetBeans 6.7 M2\ruby2\jruby-1.1.4\bin>gem update
--backtrace
Updating installed gems
Updating actionmailer
ERROR: While executing gem ... (RangeError)
integer 2953686243 too big to convert to `int'
C:/Program Files/NetBeans 6.7
M2/ruby2/jruby-1.1.4/lib/ruby/site_ruby/1.8/rubygems/package/
tar_reader/entry.rb:83:in
`read'

gem update -V --backtrace please, this error is very strange, it seems
you have a nearly 3GB tar file for actionmailer...
 
R

Ryan Davis

gem update -V --backtrace please, this error is very strange, it
seems you have a nearly 3GB tar file for actionmailer...


I think this is very possibly a problem with jruby... Can you test
with MRI?

Obviously, updating actionmailer isn't a problem in normal cases, so
some edge case is messing stuff up. Either remove netbeans or remove
jruby from the equation and try again.
 
E

Eswar Vandanapu

I think this is very possibly a problem with jruby... Can you test
with MRI?

Obviously, updating actionmailer isn't a problem in normal cases, so
some edge case is messing stuff up. Either remove netbeans or remove
jruby from the equation and try again.

I ran with -V, there is no additional output on console. I want to use
JRuby because I am looking for Quartz and other java library
integration.

Will try MRI nevertheless.

Thanks,
Eswar Vandanapu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top