# Unable to find JRuby in centos server

**URL:** https://discuss.elastic.co/t/unable-to-find-jruby-in-centos-server/138487
**Category:** Logstash
**Created:** [July 4, 2018, 6:22am UTC](https://discuss.elastic.co/t/unable-to-find-jruby-in-centos-server/138487 "2018-07-04T06:22:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![wailoont](https://avatars.discourse-cdn.com/v4/letter/w/c89c15/32.png) [@wailoont](https://discuss.elastic.co/u/wailoont)
#### Post date: [July 4, 2018, 6:22am UTC](https://discuss.elastic.co/t/unable-to-find-jruby-in-centos-server/138487/1 "2018-07-04T06:22:37Z")

</div>

Hi Elastic,

I downloaded tar.gz for logstash from [https://www.elastic.co/downloads/logstash](https://www.elastic.co/downloads/logstash).

When i copy the tar to my server, i extract it, created a conf file.

I try to run using ./logstash -f logstash.conf to start logstash, and it prompt this error

Unable to find JRuby.  
If you are a user, this is a bug.  
If you are a developer, please run 'rake bootstrap'. Running 'rake' requires the 'ruby' program be available.

I already set JAVA home and able to echo the java home. Any steps i missing ? I am trying to run logstash.

Thanks.

---

<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: [August 1, 2018, 6:22am UTC](https://discuss.elastic.co/t/unable-to-find-jruby-in-centos-server/138487/2 "2018-08-01T06:22:39Z")

</div>

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