IntelliJ & JRuby: how to set up a project?

I downloaded the trial version of IntelliJ 13, and I installed the latest version of JRuby for Windows.

I searched the net carefully, but could not find any guidance on how to set up a JRuby project in IntelliJ. I chose IntelliJ as opposed to RubyMine, because it should have better Java / Ruby integration support (see http://devnet.jetbrains.com/docs/DOC-1146 ).

So, in short; how to set up IntelliJ for a JRuby project - maybe just a simple greeting example?

+4
source share
2 answers

so in short words, create a new project, select java, then click next, on the next page select jruby and you should all be installed

If your project has already been created, my configuration as a whole looks like

project → sdk java module → new module → java → jruby

this should automatically create a jruby face, and the syntax highlighting should work

hope this helps

+3
source

I found out that you need to install the Ruby plugin for IntelliJ first ( http://plugins.jetbrains.com/plugin/?id=1293 ). After that, there are options for creating JRuby projects.

+1
source

All Articles