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 4cdb3ee commit 3225f69Copy full SHA for 3225f69
strscan.gemspec
@@ -16,8 +16,7 @@ Gem::Specification.new do |s|
16
s.summary = "Provides lexical scanning operations on a String."
17
s.description = "Provides lexical scanning operations on a String."
18
19
- jruby = true if Gem::Platform.new('java') =~ s.platform or RUBY_ENGINE == 'jruby'
20
- if jruby
+ if RUBY_ENGINE == 'jruby'
21
s.require_paths = %w{lib/jruby lib}
22
s.files = %w{lib/strscan.jar lib/jruby/strscan.rb}
23
s.platform = "java"
0 commit comments