6784ce300d
Add Ruby release 2.6.1. Ruby 2.6.0 (2018-12-25) New major features: * A new JIT compiler. * The RubyVM::AbstractSyntaxTree module. For more detail, please refer: <https://www.ruby-lang.org/en/news/2018/12/25/ruby-2-6-0-released/> Ruby 2.6.1 (2019-01-30) Major change: * Net::Protocol::BufferedIO#write raises NoMethodError when sending large multi-byte string has been fixed. For more detail, please refer: <https://www.ruby-lang.org/en/news/2019/01/30/ruby-2-6-1-released/>
20 lines
943 B
Ruby
20 lines
943 B
Ruby
$NetBSD: patch-lib_rubygems_install__update__options.rb,v 1.1 2019/02/03 13:41:33 taca Exp $
|
|
|
|
* Add install_root option for pkgsrc's rubygems support.
|
|
* Tweak build_info directory with destdir to store build_args.
|
|
|
|
--- lib/rubygems/install_update_options.rb.orig 2017-10-08 01:32:18.000000000 +0000
|
|
+++ lib/rubygems/install_update_options.rb
|
|
@@ -18,6 +18,12 @@ module Gem::InstallUpdateOptions
|
|
# Add the install/update options to the option parser.
|
|
|
|
def add_install_update_options
|
|
+ add_option(:"Install/Update", '-B', '--install-root DIR',
|
|
+ 'Root directory for gem files on install') do |value, options|
|
|
+ options[:install_root] = File.expand_path(value)
|
|
+ Gem.ensure_gem_subdirectories File.join options[:install_root], Gem.dir
|
|
+ end
|
|
+
|
|
add_option(:"Install/Update", '-i', '--install-dir DIR',
|
|
'Gem repository directory to get installed',
|
|
'gems') do |value, options|
|