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

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

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.

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