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.
Hi Friends-
With the protobuf v3 out, the official google compiler invokes its internal ruby compiler for v3 protof files with the
--ruby_outoption 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_outfor example and by changing the name of the binary toprotoc-gen-ruby2this 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.