File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,26 @@ Then, install iruby and related ports and gems.
9393 $ gem build iruby.gemspec
9494 $ sudo gem install iruby-0.2.7.gem
9595 ` ` `
96+ # ## Installation for jRuby
97+
98+ Since jRuby is fully compatible with Ruby version 2.2, it is possible to use iruby with jRuby.
99+ It can be helpful if you want to use java classes in your iruby notebook.
100+ This will require the following software:
101+ * jRuby version > = 9.0.4.0
102+ * ZeroMQ version > = 4.1.4 (You may have to build it from source.)
103+ * ffi-rzmq gem
104+ * this iruby gem
105+
106+ After installation, make sure that your ` env` is set up to jruby.
107+ ` ` ` shell
108+ $ env ruby -v
109+ ` ` `
110+ If you use RVM, it is enough to switch the current version to jruby.
111+ If you have already used iruby with a different version, you need to generate a new kernel:
112+ ` ` ` shell
113+ $ iruby register --force
114+ ` ` `
115+ After that you can use iruby with jRuby in usual way.
96116
97117# ## After the installation
98118
You can’t perform that action at this time.
0 commit comments