Skip to content

Instantly share code, notes, and snippets.

@gorkunov
Created November 12, 2012 13:19
Show Gist options
  • Save gorkunov/4059352 to your computer and use it in GitHub Desktop.
Save gorkunov/4059352 to your computer and use it in GitHub Desktop.
Speedup ruby loading

RBENV:

  1. Create file 'fast-require':

install_git 1.9.3-p194-price-fast-require https://github.com/gnprice/ruby fast-require-1.9.3p194 autoconf standard

  1. Run rbenv install /path/to/fast-require

  2. Comment lines 60-62 (hide psych warning) ~/.rbenv/versions/fast-require/lib/ruby/1.9.1/yaml.rb

Thanks @gnprice (http://bugs.ruby-lang.org/issues/7158)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment