Does this actually work? It seemed that we had to do hacks like:
```
begin
  require 'shadow'
rescue LoadError
  Gem.clear_paths
end
```
for similar cases.