Skip to content

Commit

Permalink
Load only test rake task for Ruby < 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lloeki committed Jan 31, 2025
1 parent 0fc5208 commit ad01502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# @type self: Rake::TaskLib

# load rake tasks from tasks directory
if RUBY_VERSION.start_with?("1.8.")
if RUBY_VERSION < "2.3."
import File.join(File.dirname(__FILE__) || Dir.pwd, "tasks", "test.rake")
else
Dir.glob(File.join(File.dirname(__FILE__) || Dir.pwd, "tasks", "**", "*.rake")) { |f| import f }
Expand Down

0 comments on commit ad01502

Please sign in to comment.