[DRE-maint] Bug#676148: ruby-romkan: needs encoding header for Ruby 1.9

Kenshi Muto kmuto at debian.org
Tue Jun 5 02:27:34 UTC 2012


Package: ruby-romkan
Version: 0.4-8
Severity: grave
Tags: patch

Dear Maintainer,

romkan.rb seems need encoding header for Ruby 1.9 series.

# ruby -rromkan -e "nil"
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': /usr/lib/ruby/vendor_ruby/romkan.rb:29: invalid multibyte char (US-ASCII) (SyntaxError)
/usr/lib/ruby/vendor_ruby/romkan.rb:28: invalid multibyte char (US-ASCII)
/usr/lib/ruby/vendor_ruby/romkan.rb:28: syntax error, unexpected $end, expecting keyword_end

I believe adding following line to romkan.rb will fix this bug.
# -*- encoding: euc-jp -*-

This bug prevents to update migemo package.

Thanks,
-- 
Kenshi Muto
kmuto at debian.org





More information about the Pkg-ruby-extras-maintainers mailing list