I had the wrong ruby version set in rubymine; in the menu bar go to "Rubymine" -> "preferences" -> "Ruby SDK and Gems" and make sure it is pointed to the version of Ruby you are expecting.
Found this idea here: https://stackoverflow.com/a/21056201/1462575