StringIO#set_encoding is not implemented
----------------------------------------

                 Key: JRUBY-5940
                 URL: https://jira.codehaus.org/browse/JRUBY-5940
             Project: JRuby
          Issue Type: Bug
          Components: Ruby 1.9.2
    Affects Versions: JRuby 1.6.3, JRuby 1.7
            Reporter: John Firebaugh
            Assignee: Thomas E Enebo


{code}
$ rvm exec ruby -v -rstringio -e 'StringIO.new.set_encoding "BINARY"'
jruby 1.6.3 (ruby-1.9.2-p136) (2011-07-07 965162f) (Java HotSpot(TM) Client VM 
1.6.0_26) [darwin-i386-java]
NoMethodError: undefined method `set_encoding' for #<StringIO:0x1a4eb56>
  (root) at -e:1
jruby 1.7.0.dev (ruby-1.9.2-p136) (2011-07-23 a7410e1) (Java HotSpot(TM) Client 
VM 1.6.0_26) [darwin-i386-java]
NoMethodError: undefined method `set_encoding' for #<StringIO:0x17af46e>
  (root) at -e:1
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.8.0]
{code}

This causes failures for ActiveSupport::Gzip::Stream:
https://github.com/rails/rails/blob/master/activesupport/lib/active_support/gzip.rb#L10

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to