We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2376478 commit bc487b8Copy full SHA for bc487b8
lib/rubygems/basic_specification.rb
@@ -75,7 +75,7 @@ def contains_requirable_file?(file)
75
if platform == Gem::Platform::RUBY || Gem::Platform.local === platform
76
# RubyGems warns gem specification of C extensions. But JRuby couldn't
77
# rebuild with `gem pristine` command. So, we skip the warning.
78
- if RUBY_PLATFORM != Gem::Platform::JAVA
+ if RUBY_PLATFORM != "java" # JRuby
79
warn "Ignoring #{full_name} because its extensions are not built. " \
80
"Try: gem pristine #{name} --version #{version}"
81
end
0 commit comments