From: Robert Klemme Date: 2011-09-20T17:09:29+09:00 Subject: Re: change into symlink directory - how? On Mon, Sep 19, 2011 at 4:55 PM, Alexander Schaal wrote: > Thanks for the explanation, I understand the problem now. I am not sure: why do you ask then? :-) > However, is there ANY (hard) way to get the current symlinked directory > and not the symlink target in a ruby script (Dir.pwd returns "only" the > target)? As JJ said: you need to do it like bash and do it manually (i.e. keep track of your idea of the current working directory path). Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/