work around rubygems/bundler early require issues