Skip to content

Commit

Permalink
Changed: base-line JRUBY_OPTS to default to --dev
Browse files Browse the repository at this point in the history
  • Loading branch information
kares committed Dec 3, 2019
1 parent 5d408cd commit 84347a1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/logstash-keystore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ setup

# bin/logstash-keystore is a short lived ruby script thus we can use aggressive "faster starting JRuby options"
# see https://github.com/jruby/jruby/wiki/Improving-startup-time
export JRUBY_OPTS="$JRUBY_OPTS -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-noverify -X-C -Xcompile.invokedynamic=false"
export JRUBY_OPTS="${JRUBY_OPTS---dev}"

ruby_exec "${LOGSTASH_HOME}/lib/secretstore/cli.rb" "$@"
2 changes: 1 addition & 1 deletion bin/logstash-plugin
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ setup

# bin/logstash-plugin is a short lived ruby script thus we can use aggressive "faster starting JRuby options"
# see https://github.com/jruby/jruby/wiki/Improving-startup-time
export JRUBY_OPTS="$JRUBY_OPTS -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-noverify -X-C -Xcompile.invokedynamic=false"
export JRUBY_OPTS="${JRUBY_OPTS---dev}"

ruby_exec "${LOGSTASH_HOME}/lib/pluginmanager/main.rb" "$@"
2 changes: 1 addition & 1 deletion bin/rspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ unset CDPATH
setup

# use faster starting JRuby options see https://github.com/jruby/jruby/wiki/Improving-startup-time
export JRUBY_OPTS="$JRUBY_OPTS -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1"
export JRUBY_OPTS="${JRUBY_OPTS---dev}"

ruby_exec "${LOGSTASH_HOME}/lib/bootstrap/rspec.rb" "$@"
2 changes: 1 addition & 1 deletion bin/ruby
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# DEBUG=1 to output debugging information

# use faster starting JRuby options see https://github.com/jruby/jruby/wiki/Improving-startup-time
export JRUBY_OPTS="$JRUBY_OPTS -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1"
export JRUBY_OPTS="${JRUBY_OPTS---dev}"

unset CDPATH

Expand Down

0 comments on commit 84347a1

Please sign in to comment.