Remove some duplication in ruby_project_spec