Fix Ruby path issues