# Issue installing Logstash no such file to load -- bundler

**URL:** <https://discuss.elastic.co/t/issue-installing-logstash-no-such-file-to-load-bundler/260041>\
**Category:** Logstash\
**Created:** [January 3, 2021, 4:38pm UTC](https://discuss.elastic.co/t/issue-installing-logstash-no-such-file-to-load-bundler/260041 "2021-01-03T16:38:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grant1999](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/grant1999/32/81534_2.png) [@Grant1999](https://discuss.elastic.co/u/Grant1999)\
**Post date:** [January 3, 2021, 4:38pm UTC](https://discuss.elastic.co/t/issue-installing-logstash-no-such-file-to-load-bundler/260041/1 "2021-01-03T16:38:18Z")

</div>

I have downloaded kibana and elastic search on windows 10 64 bit and now trying to install logstash. But I get this error when I type in the command any ideas?

```auto
C:\Elasticstack\logstash-7.10.1>logstash -f logstash.conf
Using JAVA_HOME defined java: C:\Program Files\Java\jre1.8.0_271
[ERROR] 2021-01-03 08:30:54.001 [main] Logstash - java.lang.IllegalStateException: Logstash stopped processing because of an error: (LoadError) no such file to load -- bundler

```

---

<div class="post-metadata">

**Author:** ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)\
**Post date:** [January 3, 2021, 4:59pm UTC](https://discuss.elastic.co/t/issue-installing-logstash-no-such-file-to-load-bundler/260041/2 "2021-01-03T16:59:02Z")

</div>

> [@Grant1999](#):
>
> `C:\Elasticstack\logstash-7.10.1>logstash -f logstash.conf`

Where `logstash.conf` is located ?  
as you are running under `C:\Elasticstack\logstash-7.10.1` it should be there

---

<div class="post-metadata">

**Author:** ![Grant1999](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/grant1999/32/81534_2.png) [@Grant1999](https://discuss.elastic.co/u/Grant1999)\
**Post date:** [January 3, 2021, 5:03pm UTC](https://discuss.elastic.co/t/issue-installing-logstash-no-such-file-to-load-bundler/260041/3 "2021-01-03T17:03:37Z")

</div>

The logstash.conf file is located in the logstash folder that I had navigated to

---

<div class="post-metadata">

**Author:** ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)\
**Post date:** [January 3, 2021, 5:07pm UTC](https://discuss.elastic.co/t/issue-installing-logstash-no-such-file-to-load-bundler/260041/4 "2021-01-03T17:07:02Z")

</div>

I guess you are under the bin : `C:\Elasticstack\logstash-7.10.1\bin` when running `logstash.bat`  
So i suggest you move `logstash.conf` to binn

---

<div class="post-metadata">

**Author:** ![Grant1999](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/grant1999/32/81534_2.png) [@Grant1999](https://discuss.elastic.co/u/Grant1999)\
**Post date:** [January 3, 2021, 5:28pm UTC](https://discuss.elastic.co/t/issue-installing-logstash-no-such-file-to-load-bundler/260041/5 "2021-01-03T17:28:24Z")

</div>

I moved logstash.conf to the \bin and still doesn't work ☹

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [January 3, 2021, 6:15pm UTC](https://discuss.elastic.co/t/issue-installing-logstash-no-such-file-to-load-bundler/260041/6 "2021-01-03T18:15:29Z")

</div>

If you undefine JAVA\_HOME and let it use the bundled JDK does the error change?

---

<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 31, 2021, 6:15pm UTC](https://discuss.elastic.co/t/issue-installing-logstash-no-such-file-to-load-bundler/260041/7 "2021-01-31T18:15:44Z")

</div>

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