When I run irb my machine:

```
│~/code/crowdtap (main) > File.exists?("#{Dir.home}/.irb/irb/custom.rb")
│=> true
│~/code/crowdtap (main) > File.exists?("~/.irb/irb/custom.rb")
│=> false
```

I think "~" is a shell thing and ruby does not perform the expansion

Note that

```
~/code/crowdtap (main) > File.expand_path("~")
=> "/Users/tomh"
```