Browse Source

We can now use the gRPC gem directly from git.

With the release of bundler 1.10, we can now simplify the build steps, and use the git repository directly as a ruby gem, without having to install gRPC at all.
Nicolas "Pixel" Noble 10 năm trước cách đây
mục cha
commit
04b6a62c52
2 tập tin đã thay đổi với 1 bổ sung6 xóa
  1. 1 1
      ruby/Gemfile
  2. 0 5
      ruby/README.md

+ 1 - 1
ruby/Gemfile

@@ -3,4 +3,4 @@
 
 source 'https://rubygems.org/'
 
-gemspec
+gem 'grpc', :git => 'https://github.com/grpc/grpc.git', :submodules => true, glob: 'src/ruby/*.gemspec'

+ 0 - 5
ruby/README.md

@@ -32,11 +32,6 @@ INSTALL
 -------
 
 - Clone this repository
-- Install gRPC Ruby using the brew-based installer
-```sh
-$ curl -fsSL https://raw.githubusercontent.com/tbetbetbe/homebrew-grpc/master/scripts/install | bash -s ruby
-```
-
 - Use bundler to install the example package's dependencies
 ```sh
 $ # from this directory