2

When updating jRuby, I'm always having a look at their release notes to figure out which ruby syntax I'm able to use. Quite recently, the change logs just say Ruby 2.x compatibility. Is there a way or place to find out against which exact ruby version it is compatible? I.e. ruby 2.2 differs from 2.3 quite a lot. Why are they just writing 2.x?

sudoremo
  • 2,274
  • 2
  • 22
  • 39

1 Answers1

3

When you do a

jruby --version

two version identifiers are printed. The first one gives the jRuby version, and the second one gives the Ruby language version which this jRuby is based on.

user1934428
  • 19,864
  • 7
  • 42
  • 87