mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 13:34:17 +02:00
Merge rubygems master branch from github.com/rubygems/rubygems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ff31b35f6a
commit
615ac35934
62 changed files with 386 additions and 410 deletions
|
@ -9,7 +9,7 @@ class Gem::Commands::SetupCommand < Gem::Command
|
|||
HISTORY_HEADER = /^===\s*[\d.a-zA-Z]+\s*\/\s*\d{4}-\d{2}-\d{2}\s*$/
|
||||
VERSION_MATCHER = /^===\s*([\d.a-zA-Z]+)\s*\/\s*\d{4}-\d{2}-\d{2}\s*$/
|
||||
|
||||
ENV_PATHS = %w[/usr/bin/env /bin/env]
|
||||
ENV_PATHS = %w[/usr/bin/env /bin/env].freeze
|
||||
|
||||
def initialize
|
||||
require 'tmpdir'
|
||||
|
@ -84,8 +84,8 @@ class Gem::Commands::SetupCommand < Gem::Command
|
|||
|
||||
add_option '--[no-]regenerate-binstubs',
|
||||
'Regenerate gem binstubs' do |value, options|
|
||||
options[:regenerate_binstubs] = value
|
||||
end
|
||||
options[:regenerate_binstubs] = value
|
||||
end
|
||||
|
||||
add_option('-E', '--[no-]env-shebang',
|
||||
'Rewrite executables with a shebang',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue