Skip to content

Commit

Permalink
Merge pull request #2513 from buildkite/pie-1493-write-documentation-…
Browse files Browse the repository at this point in the history
…on-what-to-do-for-potential-conflicting

add docs on potential conflicting gems with the collector
  • Loading branch information
jasmine-q authored Oct 17, 2023
2 parents abaf180 + cc2aaf4 commit d3be07c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/test_analytics/ruby_collectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Before you start, make sure RSpec runs with access to [CI environment variables]
bundle
```
3. Add the Test Analytics code to your application in `spec/spec_helper.rb`, and set the BUILDKITE_ANALYTICS_TOKEN [securely](/docs/pipelines/secrets) on your agent or agents.
3. Add the Test Analytics code to your application in `spec/spec_helper.rb`, and set the BUILDKITE_ANALYTICS_TOKEN [securely](/docs/pipelines/secrets) on your agent or agents. Please ensure gems that patch `Net::HTTP`, like [httplog](https://github.com/trusche/httplog) and [sniffer](https://github.com/aderyabin/sniffer), are required before `buildkite/test_collector` to avoid conflicts.
```rb
require "buildkite/test_collector"
Expand Down Expand Up @@ -89,7 +89,7 @@ If you're already using minitest for your tests, add the `buildkite-test_collect
bundle
```
3. Add the Test Analytics code to your application in `test/test_helper.rb`, and set the BUILDKITE_ANALYTICS_TOKEN [securely](/docs/pipelines/secrets) on your agent or agents.
3. Add the Test Analytics code to your application in `test/test_helper.rb`, and set the BUILDKITE_ANALYTICS_TOKEN [securely](/docs/pipelines/secrets) on your agent or agents. Please ensure gems that patch `Net::HTTP`, like [httplog](https://github.com/trusche/httplog) and [sniffer](https://github.com/aderyabin/sniffer), are required before `buildkite/test_collector` to avoid conflicts.
```rb
require "buildkite/test_collector"
Expand Down
1 change: 1 addition & 0 deletions vale/styles/vocab.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ gzipped
heroku
hostname
http
httplog
https
inlining
IPs
Expand Down

0 comments on commit d3be07c

Please sign in to comment.