Ezra Zygmuntowicz
1/28/2009 4:16:00 AM
On Jan 27, 2009, at 7:06 PM, James Gray wrote:
> On Jan 27, 2009, at 9:00 PM, Rob Biedenharn wrote:
>
>> On Jan 27, 2009, at 9:34 PM, James Gray wrote:
>>
>>> On Jan 27, 2009, at 6:45 PM, Rob Biedenharn wrote:
>>>
>>>> It works for me on Ubuntu and Mac OS X also.
>>>
>>> Were you using Apple's bundled Ruby or something you compiled?
>>>
>>> James Edward Gray II
>>
>> Apple's /usr/bin/ruby. (I'd answered before I saw your
>> clarification.) I also just ran it fine with macruby.
>
> It also seems to work in my locally compiled 1.9:
>
> $ sudo ruby_dev -r etc -ve 'Process.uid = Etc.getpwnam("james").uid'
> Password:
> ruby 1.9.1 (2008-12-30 patchlevel-0 revision 21203) [i386-
> darwin9.6.0]
>
> James Edward Gray II
>
It fails for me on my self compiled ruby 1.8.6 on osx but the built
in ruby and my gentoo ruby works fine. No clue why.
-Ezra