I'm using 1.8.7 patch 249, on a Mac OS Extended (Journaled) FS, with 10.6.6 - 
not too different, but perhaps it's the patch level?

-- 
Pat

On 16/01/2011, at 11:22 PM, Chris Berkhout wrote:

> Huh, strange! I'm on:
> 
> ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
> File System :         Mac OS Extended (Journaled)
> Mac OS X 10.6.5
> 
> New shell doesn't help either.
> 
> Hmm....
> 
> 
> On Sun, Jan 16, 2011 at 11:05 PM, Pat Allan <p...@freelancing-gods.com> wrote:
>> Heya Chris
>> 
>> Both of your lowercase examples return /Users... for me. What version of 
>> Ruby are you running? And what filesystem are you using for your hard drive?
>> 
>> --
>> Pat
>> 
>> On 16/01/2011, at 10:59 PM, Chris Berkhout wrote:
>> 
>>> Hi All,
>>> 
>>> Today I was surprised to find that the "U" in Users is uppercase
>>> (which I consider correct) in:
>>> 
>>> Etc.getpwuid.dir => "/Users/chrisberkhout"
>>> Dir.entries("/") => [..., "Users", ...]
>>> ENV['PWD']       => "/Users/chrisberkhout"
>>> 
>>> But lowercase in:
>>> 
>>> Dir.pwd               => "/users/chrisberkhout"
>>> File.expand_path('.') => "/users/chrisberkhout"
>>> 
>>> Also,
>>> - Manually changing into the uppercase directory doesn't help.
>>> - Deeper directories with uppercase letters seem fine.
>>> - Other root-level directories with uppercase letters seem fine.
>>> 
>>> Anyone else run into this issue?
>>> 
>>> Cheers,
>>> Chris
>>> 
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "Ruby or Rails Oceania" group.
>>> To post to this group, send email to rails-oceania@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> rails-oceania+unsubscr...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/rails-oceania?hl=en.
>>> 
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Ruby or Rails Oceania" group.
>> To post to this group, send email to rails-oceania@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> rails-oceania+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/rails-oceania?hl=en.
>> 
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby or Rails Oceania" group.
> To post to this group, send email to rails-oceania@googlegroups.com.
> To unsubscribe from this group, send email to 
> rails-oceania+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/rails-oceania?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to rails-oceania@googlegroups.com.
To unsubscribe from this group, send email to 
rails-oceania+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to