Workaround bundler/bundler#2908