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

后端 未结 1 1657
慢半拍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)
提交回复
热议问题