Skip to content

Commit 44a25e5

Browse files
committed
fix rescue of OpenURI
1 parent 04d7560 commit 44a25e5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/thor/runner.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
require "pathname"
88

99
class Thor::Runner < Thor #:nodoc: # rubocop:disable ClassLength
10+
autoload :OpenURI, "open-uri"
11+
1012
map "-T" => :list, "-i" => :install, "-u" => :update, "-v" => :version
1113

1214
def self.banner(command, all = false, subcommand = false)

0 commit comments

Comments
 (0)