Skip to content

Commit 0589b32

Browse files
committed
Load only test rake task for Ruby < 2.2
1 parent 0fc5208 commit 0589b32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# @type self: Rake::TaskLib
44

55
# load rake tasks from tasks directory
6-
if RUBY_VERSION.start_with?("1.8.")
6+
if RUBY_VERSION < "2.2."
77
import File.join(File.dirname(__FILE__) || Dir.pwd, "tasks", "test.rake")
88
else
99
Dir.glob(File.join(File.dirname(__FILE__) || Dir.pwd, "tasks", "**", "*.rake")) { |f| import f }

0 commit comments

Comments
 (0)