Set Ruby version to 1.9.3 and bug fixes