Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6.4
-
Fix Version/s: JRuby 1.6.5
-
Component/s: Ruby 1.9.2
-
Labels:None
-
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]
-
Number of attachments :
Description
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.
I see the same error with Capistrano 2.8.0 and 2.9.0 using jruby-1.6.4 (ruby-1.9.2-p136) and jruby-1.6.5.dev (ruby-1.9.2-p136).