diff options
Diffstat (limited to 'lib/rdoc')
-rw-r--r-- | lib/rdoc/ri/driver.rb | 3 | ||||
-rw-r--r-- | lib/rdoc/servlet.rb | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/rdoc/ri/driver.rb b/lib/rdoc/ri/driver.rb index bb7f7f61a6..a4b70b8f56 100644 --- a/lib/rdoc/ri/driver.rb +++ b/lib/rdoc/ri/driver.rb @@ -1554,8 +1554,7 @@ or the PAGER environment variable. begin require 'webrick' rescue LoadError - puts "webrick is not found. You may need to `gem install webrick` to install webrick." - exit + abort "webrick is not found. You may need to `gem install webrick` to install webrick." end server = WEBrick::HTTPServer.new :Port => @server diff --git a/lib/rdoc/servlet.rb b/lib/rdoc/servlet.rb index bead186b00..0ab1eaf19d 100644 --- a/lib/rdoc/servlet.rb +++ b/lib/rdoc/servlet.rb @@ -7,8 +7,7 @@ require 'json' begin require 'webrick' rescue LoadError - puts "webrick is not found. You may need to `gem install webrick` to install webrick." - exit + abort "webrick is not found. You may need to `gem install webrick` to install webrick." end ## |