A chef-solo recipe for applying an easily reversible Ruby Enterprise Edition environment to an Engine Yard slice
Ruby Shell
Latest commit 2d21b09 Oct 10, 2009 @hpoydar Updated README
Failed to load latest commit information.
config Store GC params in a YAML file Oct 10, 2009
cookbooks/main Updated README Oct 10, 2009
README.md Updated README Oct 10, 2009
bootstrap.sh Recipe fixes Oct 10, 2009


Chef / Engine Yard REE

A chef-solo repo for setting up Ruby Enterprise Edition on a conventional Engine Yard slice. (Not within their new cloud offering.) Why REE? Primarily for tune-able garbage collection, among other benefits. Why a chef recipe? Because you might have more than one slice. Inspired and lifted in part from Weplay/Luke Melia, Twitter/Evan Weaver, Chris Heald and others:

WARNING: This recipe is customized for my needs. In particular, specific gems are used and the recipe is designed for applications running on thins (instead of mongrels.) Also note that as of now, Engine Yard does not officially support REE. (They are good folks though - file a ticket and let them know you are using it.) AS IS. Fork, modify accordingly, and use at your own risk.


Edit dna.json.

From your EY slice:

cd ~ && git clone <your forked version of this recipe> && cd chef-ey-ree
sudo ./bootstrap.sh

Flip between mri and ree: (probably best to do this with all of your slices via cap shell)

./eyruby_switch ree

And back:

./eyruby_switch mri

GC Tuning

Edit /path/to/your/gc_params.yml Then bounce your thins.


  • Make a little less brute-forcey