Skip to content

Instantly share code, notes, and snippets.

View emaiax's full-sized avatar
🌵

Eduardo Maia emaiax

🌵
View GitHub Profile
@emaiax
emaiax / 0-readme.md
Created March 22, 2012 16:38 — forked from lucascaton/0-readme.md
ruby-1.9.3-p125 cumulative performance patch.

Patched ruby 1.9.3-p125 for 30% faster rails boot

What is?

This script installs a patched version of ruby 1.9.3-p125 with patches to make ruby-debug work again (#47) and boot-time performance improvements (#66 and #68), and runtime performance improvements (#83 and #84). It also includes the new backported GC from ruby-trunk.

Huge thanks to funny-falcon for the performance patches.

@emaiax
emaiax / fix-nokogiri
Created March 21, 2012 18:31 — forked from martinisoft/fix-nokogiri.md
Nokogiri working install with latest XCode
Homebrew has blacklisted libiconv so the majority of your help via google will not work now.
Here's a way I figured out how to get nokogiri to compile if you made the mistake of upgrading your XCode version and you use RVM
1. Install packages via RVM
rvm pkg install libxslt
rvm pkg install libxml2
rvm pkg install iconv
2. Tell bundler how to build this by default
bundle config build.nokogiri --with-opt-dir=$rvm_home/usr