RubyMine: expected ; or end of line error after some colon

后端 未结 1 1664
慢半拍i
慢半拍i 2021-01-14 06:56

My rails project works just fine. But rubymine highlights error expected ; or end of line after some colon :. For example

before_a         


        
1条回答
  •  余生分开走
    2021-01-14 07:20

    With later RubyMine versions on Mac: Go to Preferences -> 'Language & Frameworks' -> 'Ruby SDK and Gems', and change to Ruby 2.0 SDK Restart and it should work.

    0 讨论(0)
提交回复
热议问题