fixed errors in ruby_setup