What is jruby?
Jruby is a Ruby interpreter implemented in pure Java. Through jruby, you can directly run Ruby on JVMProgramTo call the Java class library. Many Ruby ides written in Java use jruby to explain the syntax.
Jruby, an open-source Ruby interpreter under JVM, can use the ruby class library in Java. Just like the standard Ruby interpreter, apart from using Ruby to call local methods (CCodeIn addition to Java class libraries, Ruby code can be correctly executed in jruby.
Why jruby
In addition to developing Internet-oriented web applications, many companies regard jruby as a key technology that enables rails to enter enterprise applications, such as thoughtworks. Jruby allows Rails Applications to be deployed on popular Java application servers. Many enterprises have already created such a runtime environment, but for some reason, it is impossible to create a new runtime environment for running Rails Applications. There are economic reasons behind the prevalence of any technology. Rails is five times more efficient than SSH, making it an almost irresistible choice. Rails is only a matter of time when it comes to enterprise applications, and its prospects are very bright.
Download and install jruby
Go to the official jruby Website:
Http://jruby.org/