Jason Denney
Published in

Jason Denney

Logstash LoadError: no such file to load — i18n

LoadError: no such file to load -- i18n
require at org/jruby/RubyKernel.java:1085
(root) at /usr/local/Cellar/logstash/1.4.2/libexec/lib/logstash/runner.rb:46

I received this error when trying to run logstash from within a Ruby script for automated integration test purposes. Turns out the ‘RUBYOPT’ environment variable was getting set, most likely by bundler, causing the issue. I simply cleared the env var before executing logstash:

RUBYOPT='' logstash -e '{config}'

or

unset RUBYOPT && logstash -e '{config}'

--

--

--

Smart-enough dude sharing pointers on DIY projects, code, and living cheap. Developer of multitouch.app

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
J Denney

J Denney

software dev researching ethical products at intentfulconsumers.com

More from Medium

CS 373 Spring 2022: Stacy Jong

PlanetQuest is a unique exploration, survival and discovery game.

Global Innovation Collection

Donuts and Updates

Mini-donuts, sugared.