mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bec184b5e6
commit
6b1e425144
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ module CGI::Util
|
|||
end
|
||||
|
||||
begin
|
||||
require_relative 'escape'
|
||||
require 'cgi/escape'
|
||||
rescue LoadError
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue