Check if rspec-core exists to support newer versions of rspec.

When running `bundle show rspec` bundle expects user input which causes vim to lock up. Checking for rspec-core first solves this issue.