pry/pry — Issue #448: Symlinking .pryrc causes Pry to load it twice.
Author: YorickPeterse
Created: 2012-01-25 15:35:41+00:00
State: open

Creating a symbolic link for ``~/.pryrc`` causes Pry to load said file twice:

$ echo 'puts "Hello Pry!"' > /tmp/.pryrc
$ ln -s /tmp/.pryrc ~/.pryrc
$ pry
Hello Pry
Hello Pry

It seems the issue only occurs when both files share the same name. Calling the
original file ".foo_pryrc" for example seems to prevent it from being loaded
twice.