This gem implements the rspec
command for
Spring.
This fork hacks in OSX RubyMine extension paths to load path so it doesn't fail to require dependencies if Spring server was started outside of RubyMine.
Related to this bug: https://youtrack.jetbrains.com/issue/RUBY-18207
Usage in Gemfile:
gem 'spring-commands-rspec', git: 'https://github.com/thewoolleyman/spring-commands-rspec.git'
Add to your Gemfile:
gem 'spring-commands-rspec', group: :development
If you're using spring binstubs, run bundle exec spring binstub rspec
to generate bin/rspec
.
Then run spring stop
to pick up the changes.