On Fri, Aug 17, 2007 at 02:10:39PM -0500, Berger, Daniel wrote:
> What difference does that make? The arrow notation is optional.
Using Ruby 1.9 HEAD as of today:
$ cd rubygems-0.9.4
$ ruby setup.rb
[snip]
<--- lib
/tmp/ruby-1.9/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:27:in
`gem_original_require':
/tmp/ruby-1.9/lib/ruby/site_ruby/1.9/rubygems/format.rb:63: syntax error,
unexpected ',', expecting tASSOC (SyntaxError)
format.file_entries << [{"size", entry.size, "mode", entry.mode,
^
/tmp/ruby-1.9/lib/ruby/site_ruby/1.9/rubygems/format.rb:63: syntax error,
unexpected ',', expecting tCOLON2 or '[' or '.'
format.file_entries << [{"size", entry.size, "mode", entry.mode,
^
/tmp/ruby-1.9/lib/ruby/site_ruby/1.9/rubygems/format.rb:64: syntax error,
unexpected ',', expecting tCOLON2 or '[' or '.'
"path", entry.full_name}, entry.read]
^
/tmp/ruby-1.9/lib/ruby/site_ruby/1.9/rubygems/format.rb:64: syntax error,
unexpected '}', expecting keyword_end
"path", entry.full_name}, entry.read]
^
/tmp/ruby-1.9/lib/ruby/site_ruby/1.9/rubygems/format.rb:64: syntax error,
unexpected ']', expecting keyword_end
/tmp/ruby-1.9/lib/ruby/site_ruby/1.9/rubygems/format.rb:71: syntax error,
unexpected $end, expecting keyword_end from
/tmp/ruby-1.9/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:27:in `require'
from /tmp/ruby-1.9/lib/ruby/site_ruby/1.9/rubygems/installer.rb:10:in
`<top (required)>'
from
/tmp/ruby-1.9/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:27:in
`gem_original_require'
from
/tmp/ruby-1.9/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:27:in `require'
from /tmp/rubygems-0.9.4/./post-install.rb:83:in `install_sources'
from /tmp/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>'
$
So it's a Ruby 1.8 -> 1.9 regression?
--
Jos Backus
jos at catnook.com
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers