# Error while starting Logstash 2.1.3

**URL:** <https://discuss.elastic.co/t/error-while-starting-logstash-2-1-3/43839>\
**Category:** Logstash\
**Created:** [March 9, 2016, 12:34am UTC](https://discuss.elastic.co/t/error-while-starting-logstash-2-1-3/43839 "2016-03-09T00:34:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![novicelogstash](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@novicelogstash](https://discuss.elastic.co/u/novicelogstash)\
**Post date:** [March 9, 2016, 12:34am UTC](https://discuss.elastic.co/t/error-while-starting-logstash-2-1-3/43839/1 "2016-03-09T00:34:57Z")

</div>

hi,

I am a newbie trying to load up the ELK stack. I am trying to start logstash version 2.1.3, but I see the following error -

bin/logstash -e 'input { stdin { } } output { stdout {} }'  
NameError: undefined method 'new' for class '#Class:0x2f8e8219'  
private\_class\_method at org/jruby/RubyModule.java:2328  
Rational at /auto/tools/lib/ruby/1.8/rational.rb:97  
(root) at /auto/tools/lib/ruby/1.8/rational.rb:64  
require at org/jruby/RubyKernel.java:1040  
(root) at /auto/tools/lib/ruby/1.8/date.rb:1  
require at org/jruby/RubyKernel.java:1040  
(root) at /auto/tools/lib/ruby/1.8/date.rb:196  
require at org/jruby/RubyKernel.java:1040  
(root) at /auto/tools/lib/ruby/site\_ruby/1.8/rubygems/specification.rb:1  
require at org/jruby/RubyKernel.java:1040  
(root) at /auto/tools/lib/ruby/site\_ruby/1.8/rubygems/specification.rb:1  
load at org/jruby/RubyKernel.java:1059  
(root) at /auto/tools/lib/ruby/site\_ruby/1.8/rubygems.rb:1

This error is not seen when I start version 1.4.3. Can someone please help me figure out what is wrong? I couldn't find an exact match for this error in the discussion forum, but apologies if this has been asked before.

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:** [July 6, 2017, 5:07am UTC](https://discuss.elastic.co/t/error-while-starting-logstash-2-1-3/43839/2 "2017-07-06T05:07:52Z")

</div>


