[Rubygems-developers] what version rubygems for ruby 1.9?

Stephen Bannasch stephen.bannasch at deanbrook.org
Sun Nov 18 02:07:50 EST 2007


I'm testing things in trunk ruby 1.9 and trunk rubygems is working so 
far. When I tried to instead install rubgems-0.9.4 I got an error 
running setup.rb. Is this expected -- should I only use the newer 
releases with 1.9?

fyi: here's the error produced:

[~/dev/ruby/src/rubygems-0.9.4]$ which ruby
/Users/stephen/dev/ruby/1.9_trunk/bin/ruby
[~/dev/ruby/src/rubygems-0.9.4]$ ruby setup.rb

...

install sha1.rb 
/Users/stephen/dev/ruby/1.9_trunk/lib/ruby/site_ruby/1.9/rubygems/digest
install sha2.rb 
/Users/stephen/dev/ruby/1.9_trunk/lib/ruby/site_ruby/1.9/rubygems/digest
<--- lib/rubygems/digest
<--- lib/rubygems
<--- lib
/Users/stephen/dev/ruby/1.9_trunk/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:27:in 
`gem_original_require': 
/Users/stephen/dev/ruby/1.9_trunk/lib/ruby/site_ruby/1.9/rubygems/format.rb:63: 
syntax error, unexpected ',', expecting tASSOC (SyntaxError)
...ormat.file_entries << [{"size", entry.size, "mode", entry.mo...
...                               ^
/Users/stephen/dev/ruby/1.9_trunk/lib/ruby/site_ruby/1.9/rubygems/format.rb:63: 
syntax error, unexpected ',', expecting tCOLON2 or '[' or '.'
...< [{"size", entry.size, "mode", entry.mode,
...                               ^
/Users/stephen/dev/ruby/1.9_trunk/lib/ruby/site_ruby/1.9/rubygems/format.rb:64: 
syntax error, unexpected ',', expecting tCOLON2 or '[' or '.'
               "path", entry.full_name}, entry.read]
                      ^
/Users/stephen/dev/ruby/1.9_trunk/lib/ruby/site_ruby/1.9/rubygems/format.rb:64: 
syntax error, unexpected '}', expecting keyword_end
               "path", entry.full_name}, entry.read]
                                       ^
/Users/stephen/dev/ruby/1.9_trunk/lib/ruby/site_ruby/1.9/rubygems/format.rb:64: 
syntax error, unexpected ']', expecting keyword_end
/Users/stephen/dev/ruby/1.9_trunk/lib/ruby/site_ruby/1.9/rubygems/format.rb:70: 
syntax error, unexpected $end, expecting keyword_end    from 
/Users/stephen/dev/ruby/1.9_trunk/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:27:in 
`require'
         from 
/Users/stephen/dev/ruby/1.9_trunk/lib/ruby/site_ruby/1.9/rubygems/installer.rb:10:in 
`<top (required)>'
         from 
/Users/stephen/dev/ruby/1.9_trunk/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:27:in 
`gem_original_require'
         from 
/Users/stephen/dev/ruby/1.9_trunk/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:27:in 
`require'
         from 
/Users/stephen/dev/ruby/src/rubygems-0.9.4/./post-install.rb:83:in 
`install_sources'
         from 
/Users/stephen/dev/ruby/src/rubygems-0.9.4/./post-install.rb:116:in 
`run_hook'
         from setup.rb:1560:in `instance_eval'
         from setup.rb:1560:in `run_hook'
         from setup.rb:1526:in `exec_task_traverse'
         from setup.rb:1342:in `exec_install'
         from setup.rb:1000:in `exec_install'
         from setup.rb:814:in `invoke'
         from setup.rb:773:in `invoke'
         from setup.rb:1578:in `<main>'



More information about the Rubygems-developers mailing list