Peter JarosPeter Jaros
NY Standup 6/9/2011: Need for speed, revisited.
edit Posted by Peter Jaros on Thursday June 09, 2011 at 11:26AM

Interesting Things

  • Last week, we discovered that Ruby 1.9's require is unnecessarily slow, and that there's a patch targeted for 1.9.3. Until then, Dave G. says, you can use the following to patch your Ruby 1.9.2 using RVM:

    curl https://raw.github.com/gist/1008945/7532898172cd9f03b4c0d0db145bc2440dcbb2f6/load.patch > /tmp/load.patch
    rvm get head   # always good to make sure you're up to date with RVM
    rvm reload
    rvm install ruby-1.9.2-p180 --patch /tmp/load.patch -n patched
    rvm use ruby-1.9.2-p180-patched
    

    [from https://gist.github.com/1008945/]

Events