pry/pry — Issue #303: ~/.pryrc appears to be read in twice if pry is started from ~
Author: kelseyjudson
Created: 2011-10-18 15:52:34+00:00
State: open

I came across this when I tried to add a `puts` statement to my `~/.pryrc`. While testing (from my home directory), the line would get printed out twice. Doesn't happen in other directories.

https://github.com/pry/pry/wiki/Pry-rc

In the above link it states

> When pry starts, it checks for a .pryrc file in your home directory(~/.pryrc) and also for a per-project .pryrc in the current directory(./.pryrc). Both files are used if they exist, with the file from your home directory being loaded first.

I'm guessing it has something to do with that. When you're working in your home directory, it reads in both `~/.pryrc` and `./.pryrc` in turn, which happen to be the same file...