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 [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to