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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With