Skip to content

Commit 9ea2062

Browse files
committed
Fix dependency issue for 6.x
1 parent 6a435f7 commit 9ea2062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch-api/elasticsearch-api.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Gem::Specification.new do |s|
5858
end
5959

6060
if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
61-
s.add_development_dependency "ruby-prof" unless defined?(JRUBY_VERSION) || defined?(Rubinius)
61+
s.add_development_dependency "ruby-prof" unless defined?(JRUBY_VERSION) || defined?(Rubinius) || RUBY_VERSION < '2.4'
6262
s.add_development_dependency "jbuilder"
6363
s.add_development_dependency "escape_utils" unless defined? JRUBY_VERSION
6464
s.add_development_dependency "simplecov", '~> 0.17', '< 0.18'

0 commit comments

Comments
 (0)