OS: Arch Linux, Rails version: 4, RubyMine: 6.3
When I run a spec from Tools - Run Rake Task - spec I always get this error:
/home/chylli/.rvm
I took the time to fix this without the need to restart spring.
There's a Pull Request for the quick hack I made in my fork of the spring-commands-rspec gem.
But it doesn't look like that repo is active, so you can use my fix by switching your spring-commands-rspec entry to this to your Gemfile:
gem 'spring-commands-rspec', git: 'https://github.com/thewoolleyman/spring-commands-rspec.git'
HTH, :) -- Chad