My rails project works just fine. But rubymine highlights error expected ; or end of line after some colon :. For example
expected ; or end of line
colon :
before_a
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.