File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1- jruby 9.4.5.0 (3.1.4) 2023-11-02 1abae2700f OpenJDK 64-Bit Server VM 21 .0.1 on 21 .0.1 +jit [arm64 -darwin]
1+ jruby 9.4.5.0 (3.1.4) 2023-11-02 1abae2700f OpenJDK 64-Bit Server VM 17 .0.7+7 on 17 .0.7+7 +jit [x86_64 -darwin]
Original file line number Diff line number Diff line change 66gems = {
77 "inifile" => "3.0.0" ,
88 "net-telnet" => "0.2.0" ,
9+ "git" => "1.18.0" ,
910}
1011
1112jar_name = ARGV . first
2930jruby_version = `java -jar #{ jar_name } -version` . split ( "\n " ) . first
3031File . write ( "VERSION" , "#{ jruby_version } \n " )
3132
32- destination = File . realpath ( "third_party/jruby/ " )
33- FileUtils . rm_f ( "#{ destination } jruby-complete.jar" ) if File . exist? ( "#{ destination } jruby-complete.jar" )
34- FileUtils . cp ( jar_name , "#{ destination } jruby-complete.jar" )
35- FileUtils . cp ( "VERSION" , "#{ destination } VERSION" )
33+ destination = File . realpath ( "third_party/jruby" )
34+ FileUtils . rm_f ( "#{ destination } / jruby-complete.jar" ) if File . exist? ( "#{ destination } / jruby-complete.jar" )
35+ FileUtils . cp ( jar_name , "#{ destination } / jruby-complete.jar" )
36+ FileUtils . cp ( "VERSION" , "#{ destination } / VERSION" )
3637
3738puts `ls -l third_party/jruby/`
3839
You can’t perform that action at this time.
0 commit comments