Ruby 2.1.0 language level issue Follow
I'm using IntelliJ 12.1.6 with the latest Ruby plugin, and I installed Ruby 2.1.0 (ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin13.0]) on my Mac with the latest version of rbenv. In IntelliJ the language level is set as 1.8 and greyed out in Platform Settings > SDKs, so I can't change it.
I've read one or two other discussions about similar problems, but it's not clear what the cause is or how to solve the problem. I've tried re-adding the SDK, and reinstalling Ruby 2.1.0 again. Homebrew, rbenv, ruby-build etc are all up-to-date.
Does anybody have any idea how the language level is automatically selected? I can see that IntelliJ is including the folder rubystubs18 in the classpath.
Please sign in to leave a comment.
Ruby plugin for Idea 12 doesn't support ruby 2.1, you need to use Idea 13
I was worried about that. My license is good for a few months, but I purchased it too soon to get major updates, which I believe are included now.
I saw on the development map that Rails 4.1 support has been implemented in RubyMine. Does that mean it's available in IDEA 13? I'd consider upgrading if so, since I'm planning to start a new project with Ruby 2.1 and Rails 4.1.
ruby 2.1 support and some Rails 4.1 support are in the latest ruby plugin for Idea 13, spring support will be included in ruby plugin for Idea 13.1