yea iam running bundle install from the directory in which my Gemfile is located. I there anything else I could possibly do? On Tuesday, April 21, 2015 at 5:15:28 PM UTC-7, Jon Rowe wrote: > > Are you running bundle install from the directory in which the Gemfile > with `gem ‘rspec’, ‘~> 3.2.3’` is? Because if so you should probably open > an issue with the bundler team because that shouldn’t be possible. > > Jon Rowe > --------------------------- > [email protected] <javascript:> > jonrowe.co.uk > > On Wednesday, 22 April 2015 at 09:39, [email protected] <javascript:> > wrote: > > I have deleted Gemfile.lock and run bundle install. Yet Iam still getting > the same error message. > > On Tuesday, April 21, 2015 at 4:36:10 PM UTC-7, Jon Rowe wrote: > > There’s clearly something wrong there as your Gemfile.lock doesn’t align > with your Gemfile. Delete the .lock file and run bundle install. > > Jon Rowe > --------------------------- > [email protected] > jonrowe.co.uk > > On Wednesday, 22 April 2015 at 07:28, [email protected] wrote: > > here is my Gemfile: > > source "http://rubygems.org" > gem ‘rspec’, '~> 3.2.3' > > and here is a copy of my Gemfile.lock: > > GEM > remote: https://rubygems.org/ > specs: > diff-lcs (1.2.5) > rspec (2.99.0) > rspec-core (~> 2.99.0) > rspec-expectations (~> 2.99.0) > rspec-mocks (~> 2.99.0) > rspec-core (2.99.1) > rspec-expectations (2.99.1) > diff-lcs (>= 1.1.3, < 2.0) > rspec-mocks (2.99.1) > > PLATFORMS > ruby > > DEPENDENCIES > rspec (~> 2.0) > > > On Monday, April 20, 2015 at 9:50:01 PM UTC-7, Jon Rowe wrote: > > 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] 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/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/0b332988-d9dc-4bc3-b3ed-128639d06cd6%40googlegroups.com > > <https://groups.google.com/d/msgid/rspec/0b332988-d9dc-4bc3-b3ed-128639d06cd6%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] <javascript:>. > To post to this group, send email to [email protected] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rspec/c7b53cee-330d-44fb-a84c-02be59466249%40googlegroups.com > > <https://groups.google.com/d/msgid/rspec/c7b53cee-330d-44fb-a84c-02be59466249%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/b614e2d3-b66c-487d-ad2b-1e61364d17c3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
