generalized fix_rubyopt to disable_bundler
more readable code