diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2026-02-06 15:33:34 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2026-02-06 15:33:34 +0900 |
| commit | 08652f825410d0690831151decd2d84ea207f976 (patch) | |
| tree | 93b2e0b0f4114f32589e4d56ef198ffa509a2f8a | |
| parent | 26b81bed5050a1ed072cb6a6b10f0369bcdc8cf1 (diff) | |
Added instruction to use 'gem "cgi"' or Bundler
| -rw-r--r-- | lib/cgi.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb index bb306d2e06..0c403bd19c 100644 --- a/lib/cgi.rb +++ b/lib/cgi.rb @@ -3,5 +3,7 @@ require "cgi/escape" warn <<-WARNING, uplevel: Gem::BUNDLED_GEMS.uplevel if $VERBOSE CGI library is removed from Ruby 4.0. Please use cgi/escape instead for CGI.escape and CGI.unescape features. -If you need to use the full features of CGI library, Please install cgi gem. + +If you need to use the full features of CGI library, please add 'gem "cgi"' to your script +or use Bundler to ensure you are using the cgi gem instead of this file. WARNING |
