Skip to content

Commit 5db95c7

Browse files
Dependency for console io version check
Dependency for this library can only be made if you are on ruby 1.9.3 or later.
1 parent c3cb7e2 commit 5db95c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/thor/shell/basic.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
require 'tempfile'
2-
require 'io/console'
2+
require 'io/console' if RUBY_VERSION > '1.9.2'
33

44
class Thor
55
module Shell

0 commit comments

Comments
 (0)