openbsd-ports/lang/ruby/2.7/patches/patch-lib_rubygems_commands_install_command_rb
2022-03-11 19:28:46 +00:00

16 lines
642 B
Plaintext

Make gem binaries on ruby 2.5 use a 25 suffix, so you can have both
other versions of the same gem installed at the same time
without conflicts.
--- lib/rubygems/commands/install_command.rb.orig Tue Dec 15 21:07:31 2015
+++ lib/rubygems/commands/install_command.rb Sat Dec 26 13:11:04 2015
@@ -21,7 +21,7 @@ class Gem::Commands::InstallCommand < Gem::Command
def initialize
defaults = Gem::DependencyInstaller::DEFAULT_OPTIONS.merge({
- :format_executable => false,
+ :format_executable => true,
:lock => true,
:suggest_alternate => true,
:version => Gem::Requirement.default,