A simple ruby checkout implementation