This includes the ruby-debug patch Jonathan probably sent you (if you work at Shopify...), and a bunch of performance fixes by Sokolov Yura, aka. funny-falcon. Somebody buy that man a beer.
- https://github.com/ruby/ruby/pull/47
- https://github.com/ruby/ruby/pull/66
- https://github.com/ruby/ruby/pull/68
- https://github.com/ruby/ruby/pull/83
- https://github.com/ruby/ruby/pull/84
- rbenv
- ruby-build
curl https://raw.github.com/gist/1688857/1-runner.sh | shAlso, putting the following in your shell config (eg. ~/.bash_profile) will make Rails even faster, but will increase its memory footprint a bit:
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
On Mac OS X Mountain Lion you'll have to remove the require_gcc to work