Skip to content
Ryan Davis edited this page Oct 12, 2018 · 4 revisions

If you wish to compile .proto definitions to ruby, you will need to install Google's Protocol Buffers from your favorite package manager or from source. This gem currently supports protobuf up to 3.6.x.

Note: the compiled headers are not a runtime requirement for this library to work, they are only necessary if you wish to compile your definitions to ruby.

OSX Install

$ brew install protobuf

Ubuntu

$ sudo apt-get install -y protobuf

Gem Install

Once the protobuf package is installed, install this gem with RubyGems or Bundler.

$ gem install protobuf

Next: Compiling Definitions
Back: API Roadmap

Clone this wiki locally