I am using Rubymine 5.4 and just updated to Ruby 2.1.1.

I changed the Ruby SDK (Settings/Ruby SDK and Gems) but the Language level is at 1.8 and i cant change it.

enter image description here

now all my files got error'd out like

action: 'Show' isn't accepted anymore with the error message Expected: ; or end of line. I have to change it to :action => "Show" to pass validation.

What am i missing?

有帮助吗?

解决方案

I'm afraid what you're missing is RubyMine 6! RM5 was written before Ruby 2.1 came out, so it is not compatible with it. I experienced the same problem as you are, so I upgraded to the latest version, and now my language version is 2.1.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top