From 2e41ce9879e81851bbb2af1610d6a82808737f06 Mon Sep 17 00:00:00 2001 From: Michael Lang Date: Tue, 30 Jun 2020 15:05:42 -0400 Subject: [PATCH] fixed note on how to install opentelemetry-api and opentelemetry-sdk --- README.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7d88fe1df..12d6bab45 100644 --- a/README.md +++ b/README.md @@ -45,11 +45,22 @@ depend on `opentelemetry-sdk` or another package that implements the API. **Please note** that this library is currently in _alpha_, and shouldn't be used in production environments. -The API and SDK packages are available on RubyGems.org, and can be installed via `bundle`: +The API and SDK packages are available on RubyGems.org, and can be installed via `gem`: ```sh -bundle install opentelemetry-api -bundle install opentelemetry-sdk +gem install opentelemetry-api +gem install opentelemetry-sdk +``` + +or via `Bundler` by adding the following to your `Gemfile`: + +```ruby +gem 'opentelemetry-api' +gem 'opentelemetry-sdk' +``` +followed by: +```sh +bundle install ``` To install development versions of these packages, follow the "Developer Setup" section (below).