Actions
Bug #653
closed`rake gem' emits a warning
Description
=begin
Hi,
rake seems to call Gem.manage_gems which is deprecated at
lib/rake/gempackagetask.rb.
$ sow19 foo
(snip)
$ cd fo/
$ rake19
(in /tmp/foo)
<internal:0:Warning: Gem::manage_gems is deprecated and will be
removed on or after March 2009.
Hoe email value not set. aborting
Is it ok to merely remove the call?
Index: lib/rake/gempackagetask.rb¶
--- lib/rake/gempackagetask.rb (revision 19808)
+++ lib/rake/gempackagetask.rb (working copy)
@@ -9,12 +9,6 @@
require 'rubygems/user_interaction'
require 'rubygems/builder'
-begin
- Gem.manage_gems
-rescue NoMethodError => ex -
Using rubygems prior to 0.6.1¶
-end¶
module Rake
# Create a package based upon a Gem spec. Gem packages, as well as
--
Yusuke ENDOH mame@tsg.ne.jp
=end
Actions
Like0
Like0Like0Like0Like0Like0Like0