Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rubymine cant change Language Level | Updated to Ruby 2.1.1

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?

like image 755
Mini John Avatar asked Mar 02 '14 06:03

Mini John


1 Answers

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.

like image 67
Seth Jeffery Avatar answered Oct 16 '22 10:10

Seth Jeffery