emit non-rubygems as ruby unit type, not rubyprogram unit type