more ruby fixes