Skip to content

Commit 28e66d4

Browse files
committed
[build] adjust Gemfile for running (tests) on MRI
1 parent 29daeac commit 28e66d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
source 'https://rubygems.org'
22

33
# Specify your gem's dependencies in the gemspec
4-
gemspec
4+
gemspec if defined? JRUBY_VERSION
55

66
gem "rake", require: false
77

88
# for less surprises with newer releases
9-
gem 'jar-dependencies', '>= 0.3.11', require: false
9+
gem 'jar-dependencies', '>= 0.3.11', platform: :jruby, require: false
1010

1111
gem 'mocha', '~> 1.4', '< 2.0'
1212

0 commit comments

Comments
 (0)