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.
2 parents 62e1bbe + 6ea3958 commit b01acbfCopy full SHA for b01acbf
lib/ruby_maven.rb
@@ -78,7 +78,7 @@ def self.launch( *args )
78
# ruby maven defines the polyglot version and this jar sets up its classpath
79
# i.e. on upgrade or downgrade the right version will be picked
80
FileUtils.cp(source, File.join(ext_dir, jar.sub(/-[0-9.]*(-SNAPSHOT)?.jar$/, '.jar')))
81
- elsif not File.exists?(File.join(ext_dir, jar)) and not jar =~ /jruby-(core|stdlib).*/
+ elsif not File.exist?(File.join(ext_dir, jar)) and not jar =~ /jruby-(core|stdlib).*/
82
# jar files are immutable as they carry the version
83
warn jar
84
FileUtils.cp(source, File.join(ext_dir, jar.sub(/-9.4.5.0/, '')))
0 commit comments