# The logstash plugin how can install plugin with .gem file? without internet

**URL:** <https://discuss.elastic.co/t/the-logstash-plugin-how-can-install-plugin-with-gem-file-without-internet/126168>\
**Category:** Logstash\
**Created:** [March 30, 2018, 12:26am UTC](https://discuss.elastic.co/t/the-logstash-plugin-how-can-install-plugin-with-gem-file-without-internet/126168 "2018-03-30T00:26:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [March 30, 2018, 12:26am UTC](https://discuss.elastic.co/t/the-logstash-plugin-how-can-install-plugin-with-gem-file-without-internet/126168/1 "2018-03-30T00:26:17Z")

</div>

the logstash plugin how can install plugin with .gem file? with offline. the .gem file is local system file.  
thanks.

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [March 30, 2018, 12:36am UTC](https://discuss.elastic.co/t/the-logstash-plugin-how-can-install-plugin-with-gem-file-without-internet/126168/2 "2018-03-30T00:36:57Z")

</div>

with this error

```
./logstash-plugin install logstash-filter-ip2location.gem 
    Validating logstash-filter-ip2location.gem
    Installing logstash-filter-ip2location
    Error Bundler::InstallError, retrying 1/10
    An error occurred while installing logstash-core (5.6.8), and Bundler cannot continue.
    Make sure that `gem install logstash-core -v '5.6.8'` succeeds before bundling.
    Error Bundler::InstallError, retrying 2/10
    An error occurred while installing logstash-core (5.6.8), and Bundler cannot continue.
    Make sure that `gem install logstash-core -v '5.6.8'` succeeds before bundling.
    Error Bundler::InstallError, retrying 3/10
    An error occurred while installing logstash-core (5.6.8), and Bundler cannot continue.
    Make sure that `gem install logstash-core -v '5.6.8'` succeeds before bundling.
    Error Bundler::InstallError, retrying 4/10
    An error occurred while installing logstash-core (5.6.8), and Bundler cannot continue.
    Make sure that `gem install logstash-core -v '5.6.8'` succeeds before bundling.
    Error Bundler::InstallError, retrying 5/10
    An error occurred while installing logstash-core (5.6.8), and Bundler cannot continue.
    Make sure that `gem install logstash-core -v '5.6.8'` succeeds before bundling.
```

---

<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:** [April 27, 2018, 12:37am UTC](https://discuss.elastic.co/t/the-logstash-plugin-how-can-install-plugin-with-gem-file-without-internet/126168/3 "2018-04-27T00:37:01Z")

</div>

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