Skip to content

Instantly share code, notes, and snippets.

@tommeier
Created March 7, 2012 23:03
Show Gist options
  • Save tommeier/1996992 to your computer and use it in GitHub Desktop.
Save tommeier/1996992 to your computer and use it in GitHub Desktop.
Speed up Rails
rvm get head && rvm install 1.9.3-perf --patch falcon,debug
echo 'export RUBY_HEAP_MIN_SLOTS=1000000' >> ~/.bash_profile
echo 'export RUBY_HEAP_SLOTS_INCREMENT=1000000' >> ~/.bash_profile
echo 'export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1' >> ~/.bash_profile
echo 'export RUBY_GC_MALLOC_LIMIT=1000000000' >> ~/.bash_profile
echo 'export RUBY_HEAP_FREE_MIN=500000' >> ~/.bash_profile
rvm use 1.9.3-perf
gem install bundler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment