pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/jruby/jruby/wiki/DevelopingWithIntelliJ

anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-0fcd9af82350aeda.css" /> DevelopingWithIntelliJ · jruby/jruby Wiki · GitHub
Skip to content

DevelopingWithIntelliJ

headius edited this page Nov 12, 2014 · 1 revision

Developing with IntelliJ

Many JRuby contributors use IntelliJ IDEA for developing JRuby.

Loading the Project

Opening the project is as simple as pointing IntelliJ at our Maven pom.xml.

  1. Go to File => Open.
  2. Browse to your JRuby repository clone.
  3. Select pom.xml in the root of the clone and proceed.

IntelliJ will open up the project, read in subprojects, and scan all files. You may be asked to set up Maven auto-updating or a Java SDK.

Debugging JRuby

The easiest way to debug JRuby is to add a run configuration pointing at a known file. Then you can just put the code you want to run in that file and push a button.

  1. Go to the Run menu (or the dropdown on the related Toolbar with a play button and a bug on it).
  2. Select Edit Configurations.
  3. Add a configuration similar to this (adjust settings and all to your preferences):
    1. Click the + to add a configuration.
    2. Add a new "Application" configuration.
    3. Adjust settings.
      • Main class: org.jruby.Main
      • VM options: -Djruby.home=/Users/headius/projects/jruby plus anything else you want.
      • Program arguments: Only requirement is the file to run or a -e line. This is the JRuby command line
      • Working directory: your JRuby clone dir.
      • Use classpath of module: jruby-core
      • Before launch: Maven goal package

You should be able to Run or Debug the given command line with full stepping, inspection, and so on.

Clone this wiki locally

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy