--- ruby-3.1.0/lib/rubygems/install_update_options.rb +++ ruby-3.1.0.mod/lib/rubygems/install_update_options.rb @@ -193,7 +193,7 @@ # Default description for the gem install and update commands. def install_update_defaults_str - '--document=ri' + '--document=ri --env-shebang' end end