Skip to content

Commit 743b51b

Browse files
committed
Simplified ignored? condition with JRuby
1 parent ea0266e commit 743b51b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundler/lib/bundler/stub_specification.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def ignored?
4040

4141
# If we share GEM_HOME for all of Ruby platform, the platform specific gem always warn that specification.
4242
# ex `jruby-launcher` and CRuby
43-
if platform == Gem::Platform::RUBY && RUBY_ENGINE != "jruby"
43+
if RUBY_ENGINE != "jruby"
4444
warn "Source #{source} is ignoring #{self} because it is missing extensions"
4545
end
4646

0 commit comments

Comments
 (0)