If you attach your Gemfile / .lock file we can help you upgrade your dependency

Jon Rowe
---------------------------
[email protected]
jonrowe.co.uk


On Tuesday, 21 April 2015 at 14:34, [email protected] wrote:

> ok thank you. would you happen to know  how I could run  an older version of 
> Rspec to work with my dependency. Thank you 
> 
> On Monday, April 20, 2015 at 5:15:01 PM UTC-7, [email protected] 
> (http://gmail.com) 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] 
> (mailto:[email protected]).
> To post to this group, send email to [email protected] 
> (mailto:[email protected]).
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rspec/2ed534a5-7bb4-44da-9d91-f6aac1ce249e%40googlegroups.com
>  
> (https://groups.google.com/d/msgid/rspec/2ed534a5-7bb4-44da-9d91-f6aac1ce249e%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/DD97498391474E8FB645DF4E12CD9644%40jonrowe.co.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to