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/883ef5b6-f4ec-4a6a-88c3-a37f3cef7004%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to