Skip to content

--ruby-out does not invoke protoc-gen-ruby for protoc v3 #341

Description

@ebenoist

Hi Friends-

With the protobuf v3 out, the official google compiler invokes its internal ruby compiler for v3 protof files with the --ruby_out option instead of protoc-gen-ruby. I'm not ready to switch to v3 yet (or Google's compiler) and would love to continue using this project.

I can force this to work by renaming the flag to --ruby2_out for example and by changing the name of the binary to protoc-gen-ruby2 this works fantastically even with the newest compiler. Any thoughts on how both of these compilers can continue to live together. This project is invaluable because of its proto2 support.

If there's consensus around an approach, I'd be happy to put up a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions