ruby-changes:53295
From: nobu <ko1@a...>
Date: Sat, 3 Nov 2018 14:29:08 +0900 (JST)
Subject: [ruby-changes:53295] nobu:r65511 (trunk): lib/cgi/util.rb: use require
nobu 2018-11-03 14:29:02 +0900 (Sat, 03 Nov 2018) New Revision: 65511 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65511 Log: lib/cgi/util.rb: use require * lib/cgi/util.rb: reverted r65505. require_relative does not work for cgi/escape.so, as extension libraries are placed in other directories than ruby libraries. [Bug #15206] Modified files: trunk/lib/cgi/util.rb Index: lib/cgi/util.rb =================================================================== --- lib/cgi/util.rb (revision 65510) +++ lib/cgi/util.rb (revision 65511) @@ -55,7 +55,7 @@ module CGI::Util https://github.com/ruby/ruby/blob/trunk/lib/cgi/util.rb#L55 end begin - require_relative 'escape' + require 'cgi/escape' rescue LoadError end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/