try running $ bundle update rspec
that should update the rspec version in your bundled gems. [image: --] José Antonio Antillón [image: http://]about.me/aantillon <http://about.me/aantillon?promo=email_sig> On Mon, Apr 20, 2015 at 6:15 PM, <[email protected]> wrote: > this is what i see when i run `bundle update` > > Installing rspec-core 2.99.2 (was 2.99.1) > > Installing rspec-expectations 2.99.2 (was 2.99.1) > > Installing rspec-mocks 2.99.3 (was 2.99.1) > > Using rspec 2.99.0 > Using bundler 1.9.4 > > On Monday, April 20, 2015 at 5:15:01 PM UTC-7, [email protected] wrote: >> >> Hello Iam trying to run a simple ruby test using Rspec and Bundler. When >> I run $bundle exec rspec example_spec.rb from the command line I get a no >> method error pointing me towards my spec_helper.rb file. I have both Rspec >> version 2.99 and 3.2.3 installed although the computer is telling me it is >> using version 2.99. How can I get my system to use version 3.2.3 instead . >> pasted error message Iam encountering. Thank you so much. >> >> >> Aris-MacBook-Pro:test-first-ruby ariticas$ bundle exec rspec >> 00_hello_spec.rb >> >> /Users/ariticas/test-first-ruby/spec/spec_helper.rb:31:in `block (2 >> levels) in <top (required)>': undefined method >> `include_chain_clauses_in_custom_matcher_descriptions=' for >> #<RSpec::Expectations::Configuration:0x007f8afa85f548> (NoMethodError) >> >> from >> /Library/Ruby/Gems/2.0.0/gems/rspec-core-2.99.1/lib/rspec/core/configuration.rb:580:in >> `expect_with' >> >> from /Users/ariticas/test-first-ruby/spec/spec_helper.rb:23:in `block in >> <top (required)>' >> >> from >> /Library/Ruby/Gems/2.0.0/gems/rspec-core-2.99.1/lib/rspec/core.rb:154:in >> `configure' >> >> from /Users/ariticas/test-first-ruby/spec/spec_helper.rb:19:in `<top >> (required)>' >> >> from >> /Library/Ruby/Gems/2.0.0/gems/rspec-core-2.99.1/lib/rspec/core/configuration.rb:1036:in >> `require' >> >> from >> /Library/Ruby/Gems/2.0.0/gems/rspec-core-2.99.1/lib/rspec/core/configuration.rb:1036:in >> `block in setup_load_path_and_require' >> >> from >> /Library/Ruby/Gems/2.0.0/gems/rspec-core-2.99.1/lib/rspec/core/configuration.rb:1036:in >> `each' >> >> from >> /Library/Ruby/Gems/2.0.0/gems/rspec-core-2.99.1/lib/rspec/core/configuration.rb:1036:in >> `setup_load_path_and_require' >> >> from >> /Library/Ruby/Gems/2.0.0/gems/rspec-core-2.99.1/lib/rspec/core/configuration_options.rb:25:in >> `configure' >> >> from >> /Library/Ruby/Gems/2.0.0/gems/rspec-core-2.99.1/lib/rspec/core/command_line.rb:17:in >> `run' >> >> from >> /Library/Ruby/Gems/2.0.0/gems/rspec-core-2.99.1/lib/rspec/core/runner.rb:103:in >> `run' >> >> from >> /Library/Ruby/Gems/2.0.0/gems/rspec-core-2.99.1/lib/rspec/core/runner.rb:17:in >> `block in autorun' >> > -- > You received this message because you are subscribed to the Google Groups > "rspec" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rspec/4857fa8d-c7a1-4411-969f-4dfcf2c6e265%40googlegroups.com > <https://groups.google.com/d/msgid/rspec/4857fa8d-c7a1-4411-969f-4dfcf2c6e265%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/CANS3KkJGUCJKGWhzR4XfBmJ5u3G7bMd43LVbf28AAL2_FJi-SQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
