# Testing fails with "bin/rspec spec/unit/\*\*/\*\_spec.rb" in logstash-5.6.15

**URL:** <https://discuss.elastic.co/t/testing-fails-with-bin-rspec-spec-unit-spec-rb-in-logstash-5-6-15/176637>\
**Category:** Logstash\
**Created:** [April 12, 2019, 1:51pm UTC](https://discuss.elastic.co/t/testing-fails-with-bin-rspec-spec-unit-spec-rb-in-logstash-5-6-15/176637 "2019-04-12T13:51:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhon](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jhon](https://discuss.elastic.co/u/jhon)\
**Post date:** [April 12, 2019, 1:51pm UTC](https://discuss.elastic.co/t/testing-fails-with-bin-rspec-spec-unit-spec-rb-in-logstash-5-6-15/176637/1 "2019-04-12T13:51:36Z")

</div>

Testing fails with "bin/rspec spec/unit/\*\*/\*\_spec.rb" in logstash-5.6.15

I am performing testing of logstash-5.6.15 and I got below error.

## ERROR

**Bundler::GemNotFound: Could not find benchmark-ips-2.7.2 in any of the sources**  
\*\* materialize at /root/logstash\_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/spec\_set.rb:92\*\*

**Steps to reproduce this error.**

```
# jruby -v
jruby 1.7.27 (1.9.3p551) 2017-05-11 8cdb01a on OpenJDK 64-Bit Server VM 1.8.0_201-b09 +jit [linux-amd64]

```

`# rake bootstrap` ==\> (it's work SUCCESSFUL BUILD)

```
# bin/rspec spec/unit/**/*_spec.rb
Bundler::GemNotFound: Could not find benchmark-ips-2.7.2 in any of the sources
      materialize at /root/logstash_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/spec_set.rb:92
             map! at org/jruby/RubyArray.java:2446
      materialize at /root/logstash_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/spec_set.rb:85
            specs at /root/logstash_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/definition.rb:132
        specs_for at /root/logstash_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/definition.rb:177
  requested_specs at /root/logstash_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/definition.rb:166
  requested_specs at /root/logstash_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/environment.rb:18
            setup at /root/logstash_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/runtime.rb:13
            setup at /root/logstash_5.6.15/logstash-5.6.15/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler.rb:122
           setup! at /root/logstash_5.6.15/logstash-5.6.15/lib/bootstrap/bundler.rb:67
           (root) at /root/logstash_5.6.15/logstash-5.6.15/lib/bootstrap/rspec.rb:3

```

Could any one please help to resolve above issue.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 10, 2019, 1:51pm UTC](https://discuss.elastic.co/t/testing-fails-with-bin-rspec-spec-unit-spec-rb-in-logstash-5-6-15/176637/2 "2019-05-10T13:51:36Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
