X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2f5c06d08c5a2fcc42d57896ba7151bee326f7ac..55d3ae09e912b8627faa004e8f7fb7dab5d1c7f2:/cookbooks/passenger/templates/default/ruby.erb?ds=sidebyside diff --git a/cookbooks/passenger/templates/default/ruby.erb b/cookbooks/passenger/templates/default/ruby.erb index fb7575ab0..f45fd210e 100644 --- a/cookbooks/passenger/templates/default/ruby.erb +++ b/cookbooks/passenger/templates/default/ruby.erb @@ -1,12 +1,7 @@ #!/bin/sh -<% if node[:passenger][:ruby_version].to_f < 2.1 -%> -export RUBY_HEAP_MIN_SLOTS=500000 -export RUBY_HEAP_FREE_MIN=100000 -<% else -%> export RUBY_GC_HEAP_INIT_SLOTS=500000 export RUBY_GC_HEAP_FREE_SLOTS=100000 -<% end -%> export RUBY_GC_MALLOC_LIMIT=50000000 -exec /usr/bin/ruby<%= node[:passenger][:ruby_version] %> "$@" +exec /usr/bin/ruby<%= node[:ruby][:version] %> "$@"