# Elastic APM agent on Ruby on Rails elastic-apm gem not found error

**URL:** <https://discuss.elastic.co/t/elastic-apm-agent-on-ruby-on-rails-elastic-apm-gem-not-found-error/258996>\
**Category:** APM\
**Tags:** ruby\
**Created:** [December 17, 2020, 1:07pm UTC](https://discuss.elastic.co/t/elastic-apm-agent-on-ruby-on-rails-elastic-apm-gem-not-found-error/258996 "2020-12-17T13:07:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![renu\_jessi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/renu_jessi/32/55702_2.png) [@renu\_jessi](https://discuss.elastic.co/u/renu_jessi)\
**Post date:** [December 17, 2020, 1:07pm UTC](https://discuss.elastic.co/t/elastic-apm-agent-on-ruby-on-rails-elastic-apm-gem-not-found-error/258996/1 "2020-12-17T13:07:25Z")

</div>

Hi Team,  
iam trying to install apm agent on ruby on rails agent..iam getting below error pls help me.

[ERROR] 2020-12-17 18:31:15.947 [main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (GemNotFound) Could not find gem 'elastic-apm java' in any of the gem sources listed in your Gemfile.

---

<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:** [January 14, 2021, 1:07pm UTC](https://discuss.elastic.co/t/elastic-apm-agent-on-ruby-on-rails-elastic-apm-gem-not-found-error/258996/2 "2021-01-14T13:07:28Z")

</div>

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