X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/c913da851887ef582b018000d618b36901b1c253..da1115e80fdbca939aa7b2f8b2027705f1c32b24:/cookbooks/passenger/templates/default/ruby.erb diff --git a/cookbooks/passenger/templates/default/ruby.erb b/cookbooks/passenger/templates/default/ruby.erb new file mode 100644 index 000000000..4d962204e --- /dev/null +++ b/cookbooks/passenger/templates/default/ruby.erb @@ -0,0 +1,7 @@ +#!/bin/sh + +export RUBY_HEAP_MIN_SLOTS=500000 +export RUBY_HEAP_FREE_MIN=100000 +export RUBY_GC_MALLOC_LIMIT=50000000 + +exec /usr/bin/ruby<%= node[:passenger][:ruby_version] %> "$@"