Skip to content

Commit ecb4a59

Browse files
hsbtparacycle
authored andcommitted
Added instruction to use 'gem "cgi"' or Bundler
1 parent eedfa06 commit ecb4a59

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/cgi.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
require "cgi/escape"
44
warn <<-WARNING, uplevel: Gem::BUNDLED_GEMS.uplevel if $VERBOSE
55
CGI library is removed from Ruby 4.0. Please use cgi/escape instead for CGI.escape and CGI.unescape features.
6-
If you need to use the full features of CGI library, Please install cgi gem.
6+
7+
If you need to use the full features of CGI library, please add 'gem "cgi"' to your script
8+
or use Bundler to ensure you are using the cgi gem instead of this file.
79
WARNING

0 commit comments

Comments
 (0)