Skip to content

Commit ffed74a

Browse files
committed
Check if JRUBY_VERSION is defined
Looks like bundler executes platforms :jruby blocks even if not running JRuby.
1 parent 68e802b commit ffed74a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ci.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ platforms :jruby do
5252
gem 'jdbc-mysql'
5353
gem 'jdbc-sqlite3', '<3.42'
5454

55-
if JRUBY_VERSION.to_i < 10
55+
if defined?(JRUBY_VERSION) && JRUBY_VERSION.to_i < 10
5656
gem 'racc', '<1.6'
5757
end
5858
end

0 commit comments

Comments
 (0)