문제

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