File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 11@ echo off
22SETLOCAL
33
4- SET JAVA_OPTS = -client -Xmx4096m -XX:ReservedCodeCacheSize=512m
4+ REM we want jruby-complete to take care of all things ruby
5+ SET GEM_HOME =
6+ SET GEM_PATH =
57
6- for /f tokens^ =2-5^ delims^ =.-_^ " %%j in ('java -fullversion 2^>^&1') do set " jver=%%j .%%k "
7- IF " %jver% " == " 1.8" GOTO :start
8+ SET JAVA_OPTS = -client -Xmx4096m -XX:ReservedCodeCacheSize=512m --add-modules java.se --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/javax.crypto=ALL-UNNAMED
89
9- SET JAVA_OPTS = %JAVA_OPTS% --add-modules java.se --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/javax.crypto=ALL-UNNAMED
10-
11- :start
1210java %JAVA_OPTS% -jar third_party\jruby\jruby-complete.jar -X-C -S rake %*
You can’t perform that action at this time.
0 commit comments