Reputation: 7941
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?
Upvotes: 5
Views: 1397
Reputation: 1120
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.
Upvotes: 6