Thanks for the info.
Is there a way to configure Textmate to point to another version of Ruby, such as the version I compiled from DarwinPorts?
-albert
On 13.3.2006, at 13:49, Dave Baldwin wrote:
This is a documented problem with the version of Ruby Apple supplied with Tiger. The other main problem with Apple's version of Ruby is its inability to support user extensions.
Dave.
On 13 Mar 2006, at 13:19, Albert Vernon Smith wrote:
I am writing a script to parse a binary file in ruby. According to the documentation on the file format, the integers are in little-endian format. When I take the script, read the appropriate part of the file, then 'unpack' with 'V' (little- endian), I don't get the right answer from the internal "Run script" command. I do get the right answer if I change to unpack with 'N'. However, if run from the command line against Apple Ruby (/usr/bin/ruby 1.8.2) or against Ruby compiled with DarwinPorts (/opt/local/bin/ruby 1.8.4), I get the appropriate result with 'V' (as I should).
This seems to be a bug to me, though I'm not sure I'm missing something here. Can someone either confirm this is a bug, or alternatively explain to me why things are behaving in this way.
-albert