Errors on String#lines
----------------------

                 Key: JRUBY-6116
                 URL: https://jira.codehaus.org/browse/JRUBY-6116
             Project: JRuby
          Issue Type: Bug
          Components: Ruby 1.9.2
    Affects Versions: JRuby 1.6.4
         Environment: Windows / Ubuntu/ OSX
jruby 1.6.4 (ruby-1.9.2-p136) (2011-08-23 17ea768) (Java HotSpot(TM) Client VM 
1.6.0_26) [Windows 7-x86-java]
            Reporter: Lelon Stoldt
            Assignee: Thomas E Enebo


Getting this error when using Capistrano to deploy a rails app. Confirmed on 
both Windows and OSX.

https://gist.github.com/1268746

It's crashing on the "line.strip", however virtually anything I do with "line" 
will result in some kind of error, including a simple "puts line"

Problem only occurs in the "message.lines" block. I can print out the 
"messages" variable fine at the top of the method.

As a quick fix, I'm doing this in the top of the method: message = 
Marshal.load(Marshal.dump(message))

This fixes whatever is wrong with the string, but its also keeping me from 
creating a simple 1 file test case (any attempt to copy 'message' into a single 
yields a working test). Anyway to do a some kind of dump and see whats special 
about that String?

I've tried building from source to investigate this further but other issues 
prevent me from getting this far.

--
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