Skip to content

Commit

Permalink
Add warning if/when rubygems/package_task disappears.
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/hoe/dev/": change = 13934]
  • Loading branch information
zenspider committed Oct 2, 2023
1 parent bc130ab commit 954407b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/hoe/package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
require "rubygems/package_task"
rescue LoadError
# rake/gempackagetask will go away some day
warn "It has happened... rubygems/package_task is gone!"
require "rake/gempackagetask"
Gem::PackageTask = Rake::GemPackageTask
end
Expand Down

0 comments on commit 954407b

Please sign in to comment.