Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ Ultimate Detects Ruby On Rails as JRuby

Searching on the jetbrains website, I came up with this: https://www.jetbrains.com/ruby/help/configuring-ruby-sdk.html. However, I don't have the Ruby SDK pane. I have set the project to have the Project SDK for the version of Ruby installed, the Modules->Dependencies has the version of Ruby selected, but each time the project loads, it prompts me to set the framework to JRuby. It's not a JRuby project. Granted, I don't have RubyMine, but I thought that that was the purpose of Ultimate, to be an all-in-one.

like image 354
HexTitan Avatar asked Jul 27 '15 05:07

HexTitan


People also ask

Can I use IntelliJ for Ruby on Rails?

IntelliJ IDEA is an integrated development environment (IDE) that helps you be more productive in every aspect of Ruby/Rails projects development - from writing and debugging code to testing and deploying a completed application. IntelliJ IDEA is available for different platforms including macOS, Windows, and Linux.

Does WebStorm support Ruby?

Up until the latest WebStorm update, we were working with WebStorm 4 and Ruby plugin, which offered great support for Cucumber tests implementation file. In WebStorm 5, the plugin no longer works.


1 Answers

Maybe a late response, but here's answer anyway. I stumbled upon the same issue while evaluating the Ultimate version.

To fix the "JRuby on Rails framework detected" issue, just create a new project "from existing sources". Follow the steps in the wizard and "Ruby on Rails" framework will be detected correctly - no more JRuby...

Hope it helps!

like image 177
Dave Avatar answered Oct 11 '22 00:10

Dave