Intellij IDEA Ruby Language Level
I got a Rails project in intellij idea, but somehow the language level seems to be set to 1.8. I got the following configuration:
But it still shows the following error:
Am I missing something? When I had colon syntax problems before, it was always the language level.
Thanks Robin
+3
source to share
2 answers
I still don't know what the problem is, but I think there was something to do with binstubs. What I've done:
- I opened a project in RubyMine and got a warning: "no ruby ββinterpreter for the project" even though the correct rvm ruby ββwas selected
- I deleted the folder
.idea
and folderbin
- I reopened the project in RubyMine, this time it correctly recognized rvm ruby
- I opened a project in Intellij IDEA, everything works fine here.
0
source to share