Skip to content

Instantly share code, notes, and snippets.


Rodrigo Tassinari de Oliveira rodrigotassinari

View GitHub Profile
rodrigotassinari / gist:1078666
Created Jul 12, 2011 — forked from sagmor/gist:1041943
Patched Ruby 1.9.2 for faster load and GC
View gist:1078666
# Ruby 1.9 Fast require:
curl > load.patch
# Ruby 1.9.2 GC Patch:
curl > gc.patch
rvm install 1.9.2-p180 --patch load.patch,gc.patch -n loadgc
rm gc.patch load.patch
View gist:243509
# mongo_template.rb
# remove unneeded defaults
run "rm public/index.html"
run "rm public/images/rails.png"
run "rm public/javascripts/controls.js"
run "rm public/javascripts/dragdrop.js"
run "rm public/javascripts/effects.js"
run "rm public/javascripts/prototype.js"