Properly configure IntelliJ to use Ruby in a Java Project

0 votes
asked Sep 11, 2017 by zack

How to I configure IntelliJ Idea so I can use Ruby in a primarily Java project? (Specifically, I am using RSpec to drive my system tests.)

As far as I can tell, I have the Ruby SDK correctly configured in the project, but the very first line of my ruby code (require 'open3') has warning lines under both words (Cannot find 'require').

For what it's worth: I don't need to run Ruby from within IntelliJ; I just want to reduce the number of warnings so the screen isn't so cluttered and so I don't get into the habit of ignoring warnings.

SDK Project Configuration enter image description here

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Welcome to Q&A, where you can ask questions and receive answers from other members of the community.
Website Online Counter