Skip to content

Commit 3136fd3

Browse files
committed
Turn value into a String before regex match
1 parent 5c683ca commit 3136fd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gemfile-rails-dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ else
4646
end
4747

4848
gem "i18n", '< 0.7.0' if RUBY_VERSION < '1.9.3'
49-
gem "test-unit" if RUBY_VERSION >= '2.2.0' && version =~ /3[.-]2[.-]/
49+
gem "test-unit" if RUBY_VERSION >= '2.2.0' && version.to_s =~ /3[.-]2[.-]/

0 commit comments

Comments
 (0)