Shuffle definitions around, try and install ruby gems.