diff options
author | Isaiah Peng <issaria@gmail.com> | 2014-12-24 15:48:41 +0100 |
---|---|---|
committer | Isaiah Peng <issaria@gmail.com> | 2015-03-10 23:14:08 +0100 |
commit | 27e2b57830c328b83286e055752bf92790587953 (patch) | |
tree | 6cf4de2cbcb24d53b2475ed15d6a61a98712685c /ruby/README.md | |
parent | a5f7bb8ebb60d636c21c18ad2ffeda80e8f80a48 (diff) | |
download | protobuf-27e2b57830c328b83286e055752bf92790587953.tar.gz protobuf-27e2b57830c328b83286e055752bf92790587953.tar.bz2 protobuf-27e2b57830c328b83286e055752bf92790587953.zip |
add jruby support by protobuf-java reflection API
Diffstat (limited to 'ruby/README.md')
-rw-r--r-- | ruby/README.md | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/ruby/README.md b/ruby/README.md index 8331d286..d2fa76ab 100644 --- a/ruby/README.md +++ b/ruby/README.md @@ -60,15 +60,28 @@ To build this Ruby extension, you will need: * Ruby development headers * a C compiler -First, install the required Ruby gems: +To Build the JRuby extension, you will need: - $ sudo gem install bundler rake rake-compiler rspec rubygems-tasks +* Maven +* The latest version of the protobuf java library +* Install JRuby via rbenv or RVM + +First switch to the desired platform with rbenv or RVM. + +Then install the required Ruby gems: + + $ gem install bundler + $ bundle Then build the Gem: $ rake gem $ gem install pkg/protobuf-$VERSION.gem +To run the specs: + + $ rake test + This gem includes the upb parsing and serialization library as a single-file amalgamation. It is up-to-date with upb git commit `535bc2fe2f2b467f59347ffc9449e11e47791257`. |