Skip to content

Instantly share code, notes, and snippets.

@johanneswuerbach
Last active December 13, 2015 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johanneswuerbach/4948832 to your computer and use it in GitHub Desktop.
Save johanneswuerbach/4948832 to your computer and use it in GitHub Desktop.
Faster Rails
export RUBY_HEAP_MIN_SLOTS=1000000
export RUBY_HEAP_SLOTS_INCREMENT=1000000
export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1
export RUBY_GC_MALLOC_LIMIT=1000000000
export RUBY_HEAP_FREE_MIN=500000
# Source: https://github.com/skaes/rvm-patchsets
rvm get stable
# Latest ruby
rvm reinstall 1.9.3 --patch railsexpress
# Patchlevel 372
rvm reinstall 1.9.3-p327 --patch railsexpress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment