I'm probably doing something wrong here but figured I'd submit this and see if it could be an issue with the gem. I have a Rails 4.2 project with gem dependencies up to date. I'm trying to update rspec-rails from 3.1 to 3.2 but its not updating. I then updated my gemfile with an explicit version: gem 'rspec-rails', '~> 3.2.0'and when I run bundle install I get the following error message:
Bundler could not find compatible versions for gem "rspec-core":
In snapshot (Gemfile.lock):
rspec-core (3.1.7)
In Gemfile:
rspec-rails (~> 3.2.0) ruby depends on
rspec-core (~> 3.2.0) ruby
Is this an issue with one of the rspec gems that I can't update? Or another non rspec gem has a funky version dependency? I was expecting to see another gem in that error message but since it mentions rspec-core I figured I'd submit this. Happy to provide more info if necessary. Thanks.
What if you run bundle update rspec-rails rspec-core?
@myronmarston just tried but Bundler does not update rspec-rails to 3.2. I also tried bundle update rspec-core rspec-rails for kicks but same result.
Can you paste your gemfile and gemfile.lock?
@myronmarston here are the file contents:
Gemfile
source 'https://rubygems.org'
ruby '2.1.3'
gem 'rails', '4.2.0'
gem 'unicorn'
gem 'pg'
gem 'pghero'
gem 'sidekiq'
gem 'dalli'
gem 'sinatra', require: nil # for Sidekiq Web
# Assets
gem 'sass-rails', '~> 5.0'
gem 'coffee-rails', '~> 4.1.0'
gem 'uglifier', '>= 1.3.0'
gem 'sass-mediaqueries-rails'
gem 'jquery-rails'
gem 'foundation-rails'
gem 'turbolinks'
gem 'ejs'
gem 'bourbon', '3.2.3' # remove once https://github.com/thoughtbot/bourbon/pull/616 is accepted and released in 4.2.0
# Admin
gem 'activeadmin', github: 'gregbell/active_admin'
# Analytics
gem 'mixpanel-ruby'
# Authorization and Authentication
gem 'responders', '~> 2.0' # required by Devise and we use it internally
gem 'devise'
gem 'omniauth'
gem 'omniauth-facebook'
gem 'fb_graph'
# Error Reporting
gem 'bugsnag'
# Cloud Services
gem 'carrierwave'
gem 'fog'
gem 'urbanairship'
# cron
gem 'parse-cron'
gem 'clockwork'
# Images
gem 'chunky_png'
gem 'barby'
gem 'mini_magick' # required for carrierwave
gem 'rmagick', require: false # required for carrierwave
# Phone Numbers
gem 'phony_rails'
gem 'twilio-ruby'
# Pagination
gem 'kaminari'
# Payments
gem 'activemerchant'
gem 'balanced'
# Templating Systems
gem 'rabl-rails'
gem 'redcarpet'
# Third Party Services
gem 'google-api-client'
gem 'google_drive'
gem 'geocoder'
gem 'hipchat'
gem 'mailchimp-api', require: 'mailchimp'
gem 'premailer-rails'
gem 'rack-cors', require: 'rack/cors'
# Eventing
gem 'celluloid-io'
gem 'websocket-rails'
group :production, :staging do
gem 'rails_12factor'
gem 'newrelic_rpm'
end
group :development, :test do
gem 'factory_girl'
gem 'spring'
gem 'pry'
gem 'guard-livereload'
gem 'rspec-rails'
gem 'spring-commands-rspec'
gem 'guard-rspec', require: false
end
group :development do
gem 'letter_opener'
gem 'rack-mini-profiler'
gem 'web-console', '~> 2.0'
end
group :test do
gem 'shoulda-matchers', require: false
gem 'json_expressions'
gem 'dotenv-rails'
end
group :profile do
gem 'ruby-prof'
end
Gemfile.lock
remote: git://github.com/gregbell/active_admin.git
revision: 9fac1106ca013c4cd76ee6b231ec5dd1fcfd0790
specs:
activeadmin (1.0.0.pre)
arbre (~> 1.0, >= 1.0.2)
bourbon
coffee-rails
formtastic (~> 3.1)
formtastic_i18n
inherited_resources (~> 1.4, != 1.5.0)
jquery-rails
jquery-ui-rails (~> 5.0)
kaminari (~> 0.15)
rails (>= 3.2, < 5.0)
ransack (~> 1.3)
sass-rails
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (2.3.0)
actionmailer (4.2.0)
actionpack (= 4.2.0)
actionview (= 4.2.0)
activejob (= 4.2.0)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.0)
actionview (= 4.2.0)
activesupport (= 4.2.0)
rack (~> 1.6.0)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.1)
actionview (4.2.0)
activesupport (= 4.2.0)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.1)
activejob (4.2.0)
activesupport (= 4.2.0)
globalid (>= 0.3.0)
activemerchant (1.46.0)
activesupport (>= 3.2.14, < 5.0.0)
builder (>= 2.1.2, < 4.0.0)
i18n (>= 0.6.9)
nokogiri (~> 1.4)
activemodel (4.2.0)
activesupport (= 4.2.0)
builder (~> 3.1)
activerecord (4.2.0)
activemodel (= 4.2.0)
activesupport (= 4.2.0)
arel (~> 6.0)
activesupport (4.2.0)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.3.6)
arbre (1.0.3)
activesupport (>= 3.0.0)
arel (6.0.0)
attr_required (1.0.0)
autoparse (0.3.3)
addressable (>= 2.3.1)
extlib (>= 0.9.15)
multi_json (>= 1.0.0)
balanced (1.2.1)
addressable (~> 2.3.5)
faraday (>= 0.8.6, <= 0.9.0)
faraday_middleware (~> 0.9.0)
barby (0.6.2)
bcrypt (3.1.10)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
bourbon (3.2.3)
sass (~> 3.2)
thor
bugsnag (2.7.1)
multi_json (~> 1.0)
builder (3.2.2)
carrierwave (0.10.0)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
json (>= 1.7)
mime-types (>= 1.16)
celluloid (0.16.0)
timers (~> 4.0.0)
celluloid-io (0.16.2)
celluloid (>= 0.16.0)
nio4r (>= 1.1.0)
chunky_png (1.3.3)
clockwork (1.1.0)
activesupport
tzinfo
coderay (1.1.0)
coffee-rails (4.1.0)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.3.0)
coffee-script-source
execjs
coffee-script-source (1.9.0)
connection_pool (2.1.1)
countries (0.10.0)
currencies (~> 0.4.2)
css_parser (1.3.6)
addressable
currencies (0.4.2)
daemons (1.1.9)
dalli (2.7.2)
debug_inspector (0.0.2)
devise (3.4.1)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
responders
thread_safe (~> 0.1)
warden (~> 1.2.3)
diff-lcs (1.2.5)
dotenv (1.0.2)
dotenv-rails (1.0.2)
dotenv (= 1.0.2)
ejs (1.1.1)
em-synchrony (1.0.4)
eventmachine (>= 1.0.0.beta.1)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
erubis (2.7.0)
eventmachine (1.0.4)
excon (0.43.0)
execjs (2.2.2)
extlib (0.9.16)
factory_girl (4.5.0)
activesupport (>= 3.0.0)
faraday (0.9.0)
multipart-post (>= 1.2, < 3)
faraday_middleware (0.9.1)
faraday (>= 0.7.4, < 0.10)
faye-websocket (0.9.2)
eventmachine (>= 0.12.0)
websocket-driver (>= 0.5.1)
fb_graph (2.7.17)
httpclient (>= 2.4)
multi_json (>= 1.3)
rack-oauth2 (>= 0.14.4)
tzinfo
ffi (1.9.6)
fission (0.5.0)
CFPropertyList (~> 2.2)
fog (1.27.0)
fog-atmos
fog-aws (~> 0.0)
fog-brightbox (~> 0.4)
fog-core (~> 1.27, >= 1.27.3)
fog-ecloud
fog-json
fog-profitbricks
fog-radosgw (>= 0.0.2)
fog-sakuracloud (>= 0.0.4)
fog-serverlove
fog-softlayer
fog-storm_on_demand
fog-terremark
fog-vmfusion
fog-voxel
fog-xml (~> 0.1.1)
ipaddress (~> 0.5)
nokogiri (~> 1.5, >= 1.5.11)
fog-atmos (0.1.0)
fog-core
fog-xml
fog-aws (0.0.6)
fog-core (~> 1.27)
fog-json (~> 1.0)
fog-xml (~> 0.1)
ipaddress (~> 0.8)
fog-brightbox (0.7.1)
fog-core (~> 1.22)
fog-json
inflecto (~> 0.0.2)
fog-core (1.27.3)
builder
excon (~> 0.38)
formatador (~> 0.2)
mime-types
net-scp (~> 1.1)
net-ssh (>= 2.1.3)
fog-ecloud (0.0.2)
fog-core
fog-xml
fog-json (1.0.0)
multi_json (~> 1.0)
fog-profitbricks (0.0.1)
fog-core
fog-xml
nokogiri
fog-radosgw (0.0.3)
fog-core (>= 1.21.0)
fog-json
fog-xml (>= 0.0.1)
fog-sakuracloud (0.1.2)
fog-core
fog-json
fog-serverlove (0.1.1)
fog-core
fog-json
fog-softlayer (0.3.30)
fog-core
fog-json
fog-storm_on_demand (0.1.0)
fog-core
fog-json
fog-terremark (0.0.3)
fog-core
fog-xml
fog-vmfusion (0.0.1)
fission
fog-core
fog-voxel (0.0.2)
fog-core
fog-xml
fog-xml (0.1.1)
fog-core
nokogiri (~> 1.5, >= 1.5.11)
formatador (0.2.5)
formtastic (3.1.3)
actionpack (>= 3.2.13)
formtastic_i18n (0.1.1)
foundation-rails (5.5.1.0)
railties (>= 3.1.0)
sass (>= 3.3.0, < 3.5)
geocoder (1.2.7)
globalid (0.3.0)
activesupport (>= 4.1.0)
google-api-client (0.8.2)
activesupport (>= 3.2)
addressable (~> 2.3)
autoparse (~> 0.3)
extlib (~> 0.9)
faraday (~> 0.9)
launchy (~> 2.4)
multi_json (~> 1.10)
retriable (~> 1.4)
signet (~> 0.6)
google_drive (0.3.11)
google-api-client (>= 0.7.0)
nokogiri (>= 1.4.4, != 1.5.2, != 1.5.1)
oauth (>= 0.3.6)
oauth2 (>= 0.5.0)
guard (2.11.1)
formatador (>= 0.2.4)
listen (~> 2.7)
lumberjack (~> 1.0)
nenv (~> 0.1)
notiffany (~> 0.0)
pry (>= 0.9.12)
shellany (~> 0.0)
thor (>= 0.18.1)
guard-compat (1.2.1)
guard-livereload (2.4.0)
em-websocket (~> 0.5)
guard (~> 2.8)
multi_json (~> 1.8)
guard-rspec (4.5.0)
guard (~> 2.1)
guard-compat (~> 1.1)
rspec (>= 2.99.0, < 4.0)
has_scope (0.6.0.rc)
actionpack (>= 3.2, < 5)
activesupport (>= 3.2, < 5)
hashie (3.2.0)
hike (1.2.3)
hipchat (1.4.0)
httparty
hiredis (0.5.2)
hitimes (1.2.2)
htmlentities (4.3.1)
http_parser.rb (0.6.0)
httparty (0.13.3)
json (~> 1.8)
multi_xml (>= 0.5.2)
httpclient (2.5.2)
i18n (0.7.0)
inflecto (0.0.2)
inherited_resources (1.6.0)
actionpack (>= 3.2, < 5)
has_scope (~> 0.6.0.rc)
railties (>= 3.2, < 5)
responders
ipaddress (0.8.0)
jquery-rails (4.0.3)
rails-dom-testing (~> 1.0)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (5.0.3)
railties (>= 3.2.16)
json (1.8.2)
json_expressions (0.8.3)
jwt (1.0.0)
kaminari (0.16.2)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
kgio (2.9.3)
launchy (2.4.3)
addressable (~> 2.3)
letter_opener (1.3.0)
launchy (~> 2.2)
listen (2.8.5)
celluloid (>= 0.15.2)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
loofah (2.0.1)
nokogiri (>= 1.5.9)
lumberjack (1.0.9)
mail (2.6.3)
mime-types (>= 1.16, < 3)
mailchimp-api (2.0.6)
excon (>= 0.16.0)
json (>= 1.7.7)
method_source (0.8.2)
mime-types (2.4.3)
mini_magick (3.8.1)
subexec (~> 0.2.1)
mini_portile (0.6.2)
minitest (5.5.1)
mixpanel-ruby (1.6.0)
multi_json (1.10.1)
multi_xml (0.5.5)
multipart-post (2.0.0)
nenv (0.2.0)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (2.9.2)
newrelic_rpm (3.9.9.275)
nio4r (1.1.0)
nokogiri (1.6.6.2)
mini_portile (~> 0.6.0)
notiffany (0.0.3)
nenv (~> 0.1)
shellany (~> 0.0)
oauth (0.4.7)
oauth2 (1.0.0)
faraday (>= 0.8, < 0.10)
jwt (~> 1.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (~> 1.2)
omniauth (1.2.2)
hashie (>= 1.2, < 4)
rack (~> 1.0)
omniauth-facebook (2.0.0)
omniauth-oauth2 (~> 1.2)
omniauth-oauth2 (1.2.0)
faraday (>= 0.8, < 0.10)
multi_json (~> 1.3)
oauth2 (~> 1.0)
omniauth (~> 1.2)
orm_adapter (0.5.0)
parse-cron (0.1.4)
pg (0.18.1)
pghero (0.1.9)
activerecord
phony (2.10.3)
phony_rails (0.9.0)
activesupport (>= 3.0)
countries (>= 0.8.2)
phony (~> 2.10.1)
polyamorous (1.1.0)
activerecord (>= 3.0)
premailer (1.8.3)
css_parser (>= 1.3.6)
htmlentities (>= 4.0.0, <= 4.3.1)
premailer-rails (1.8.0)
actionmailer (>= 3, < 5)
premailer (~> 1.7, >= 1.7.9)
pry (0.10.1)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
rabl-rails (0.4.1)
activesupport (>= 3.1)
railties (>= 3.1)
thread_safe (~> 0.3.1)
rack (1.6.0)
rack-cors (0.3.1)
rack-mini-profiler (0.9.2)
rack (>= 1.1.3)
rack-oauth2 (1.0.8)
activesupport (>= 2.3)
attr_required (>= 0.0.5)
httpclient (>= 2.2.0.2)
multi_json (>= 1.3.6)
rack (>= 1.1)
rack-protection (1.5.3)
rack
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.0)
actionmailer (= 4.2.0)
actionpack (= 4.2.0)
actionview (= 4.2.0)
activejob (= 4.2.0)
activemodel (= 4.2.0)
activerecord (= 4.2.0)
activesupport (= 4.2.0)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.0)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.5)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.1)
loofah (~> 2.0)
rails_12factor (0.0.3)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.4)
rails_stdout_logging (0.0.3)
railties (4.2.0)
actionpack (= 4.2.0)
activesupport (= 4.2.0)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
raindrops (0.13.0)
rake (10.4.2)
ransack (1.6.3)
actionpack (>= 3.0)
activerecord (>= 3.0)
activesupport (>= 3.0)
i18n
polyamorous (~> 1.1)
rb-fsevent (0.9.4)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
redcarpet (3.2.2)
redis (3.2.0)
redis-namespace (1.5.1)
redis (~> 3.0, >= 3.0.4)
redis-objects (1.1.0)
redis (>= 3.0.2)
responders (2.1.0)
railties (>= 4.2.0, < 5)
retriable (1.4.1)
rmagick (2.13.4)
rspec (3.1.0)
rspec-core (~> 3.1.0)
rspec-expectations (~> 3.1.0)
rspec-mocks (~> 3.1.0)
rspec-core (3.1.7)
rspec-support (~> 3.1.0)
rspec-expectations (3.1.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.1.0)
rspec-mocks (3.1.3)
rspec-support (~> 3.1.0)
rspec-rails (3.1.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 3.1.0)
rspec-expectations (~> 3.1.0)
rspec-mocks (~> 3.1.0)
rspec-support (~> 3.1.0)
rspec-support (3.1.2)
ruby-prof (0.15.3)
sass (3.4.11)
sass-mediaqueries-rails (1.3)
sass (>= 3.2.0)
sass-rails (5.0.1)
railties (>= 4.0.0, < 5.0)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (~> 1.1)
shellany (0.0.1)
shoulda-matchers (2.8.0)
activesupport (>= 3.0.0)
sidekiq (3.3.1)
celluloid (>= 0.16.0)
connection_pool (>= 2.1.1)
json
redis (>= 3.0.6)
redis-namespace (>= 1.3.1)
signet (0.6.0)
addressable (~> 2.3)
extlib (~> 0.9)
faraday (~> 0.9)
jwt (~> 1.0)
multi_json (~> 1.10)
sinatra (1.4.5)
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
slop (3.6.0)
spring (1.2.0)
spring-commands-rspec (1.0.4)
spring (>= 0.9.1)
sprockets (2.12.3)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.2.4)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
subexec (0.2.3)
thin (1.6.3)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0)
rack (~> 1.0)
thor (0.19.1)
thread_safe (0.3.4)
tilt (1.4.1)
timers (4.0.1)
hitimes
turbolinks (2.5.3)
coffee-rails
twilio-ruby (3.14.4)
builder (>= 2.1.2)
jwt (~> 1.0.0)
multi_json (>= 1.3.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.7.0)
execjs (>= 0.3.0)
json (>= 1.8.0)
unicorn (4.8.3)
kgio (~> 2.6)
rack
raindrops (~> 0.7)
urbanairship (2.4.1)
json
warden (1.2.3)
rack (>= 1.0)
web-console (2.0.0)
activemodel (~> 4.0)
binding_of_caller (>= 0.7.2)
railties (~> 4.0)
sprockets-rails (>= 2.0, < 4.0)
websocket-driver (0.5.1)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.1)
websocket-rails (0.7.0)
em-synchrony
faye-websocket
hiredis
rack
rails
redis
redis-objects
thin
PLATFORMS
ruby
DEPENDENCIES
activeadmin!
activemerchant
balanced
barby
bourbon (= 3.2.3)
bugsnag
carrierwave
celluloid-io
chunky_png
clockwork
coffee-rails (~> 4.1.0)
dalli
devise
dotenv-rails
ejs
factory_girl
fb_graph
fog
foundation-rails
geocoder
google-api-client
google_drive
guard-livereload
guard-rspec
hipchat
jquery-rails
json_expressions
kaminari
letter_opener
mailchimp-api
mini_magick
mixpanel-ruby
newrelic_rpm
omniauth
omniauth-facebook
parse-cron
pg
pghero
phony_rails
premailer-rails
pry
rabl-rails
rack-cors
rack-mini-profiler
rails (= 4.2.0)
rails_12factor
redcarpet
responders (~> 2.0)
rmagick
rspec-rails
ruby-prof
sass-mediaqueries-rails
sass-rails (~> 5.0)
shoulda-matchers
sidekiq
sinatra
spring
spring-commands-rspec
turbolinks
twilio-ruby
uglifier (>= 1.3.0)
unicorn
urbanairship
web-console (~> 2.0)
websocket-rails
@javierjulio do you have any custom local bundler settings pointing to a different gem server or using only local caches? I had no problems updating my work app from 3.1 to 3.2 today (also using Rails 4.2).
When I try to update your Gemfile.lock I get:
Bundler could not find compatible versions for gem "httparty":
In Gemfile:
idology (>= 0) ruby depends on
httparty (~> 0.8.1) ruby
hipchat (>= 0) ruby depends on
httparty (0.13.3)
Also what is your bundler version?
After updating those gems I got:
Bundler could not find compatible versions for gem "rspec-mocks":
In Gemfile:
guard-rspec (>= 0) ruby depends on
rspec (< 4.0, >= 2.99.0) ruby depends on
rspec-mocks (~> 3.1.0) ruby
rspec-rails (~> 3.2) ruby depends on
rspec-mocks (3.2.0)
Running bundle update rspec rspec-rails upgraded things for me.
@cupakromer no I don't. I updated my previous comment with an updated Gemfile and Gemfile.lock removing idology as that is a private gem. My apologies for the confusion. Once removing that everything is pretty standard. With idology removed so it matches what I shared above, if I update my Gemfile with an explicit version: gem 'rspec-rails', '~> 3.2.0' and when I run bundle install I get the following error message:
Bundler could not find compatible versions for gem "rspec-support":
In snapshot (Gemfile.lock):
rspec-support (3.1.2)
In Gemfile:
rspec-rails (~> 3.2.0) ruby depends on
rspec-support (~> 3.2.0) ruby
But if I do what @myronmarston suggested but instead run bundle update rspec-rails rspec-support I get this error message complaining about rspec-expectations:
Bundler could not find compatible versions for gem "rspec-expectations":
In Gemfile:
guard-rspec (>= 0) ruby depends on
rspec (< 4.0, >= 2.99.0) ruby depends on
rspec-expectations (~> 3.1.0) ruby
rspec-rails (~> 3.2.0) ruby depends on
rspec-expectations (3.2.0)
Could guard-rspec be the issue?
@cupakromer that did it! Thanks! I just had to run bundle update rspec rspec-rails. Makes sense since that last error showed rspec dependency in the message output. Thanks again @cupakromer and @myronmarston.
A report should be made against guard-rspec to depend on rspec-core instead of rspec that would prevent this issue from occurring..
Most helpful comment
@cupakromer that did it! Thanks! I just had to run
bundle update rspec rspec-rails. Makes sense since that last error showed rspec dependency in the message output. Thanks again @cupakromer and @myronmarston.