]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/passenger/templates/default/ruby.erb
Update SST CLI
[chef.git] / cookbooks / passenger / templates / default / ruby.erb
index 4d962204ec4c8235657cae4d34e8cae6613628db..f45fd210eaa6d2f11844bb75baab50b5ecd8df00 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 #!/bin/sh
 
-export RUBY_HEAP_MIN_SLOTS=500000
-export RUBY_HEAP_FREE_MIN=100000
+export RUBY_GC_HEAP_INIT_SLOTS=500000
+export RUBY_GC_HEAP_FREE_SLOTS=100000
 export RUBY_GC_MALLOC_LIMIT=50000000
 
 export RUBY_GC_MALLOC_LIMIT=50000000
 
-exec /usr/bin/ruby<%= node[:passenger][:ruby_version] %> "$@"
+exec /usr/bin/ruby<%= node[:ruby][:version] %> "$@"