You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm very new to ruby and programing in general, forgive my ignorance. I'm trying to do a simple debugging exercise and am encountering an error that I can't make heads or tails of. When I try and run rake in the directory I get an error message about locating rspec?
(in /Users/Sam/Documents/learn_ruby-master)
rake aborted!
Gem::LoadError: Could not find 'rspec' (~> 2) - did find: [rspec-3.4.0]
Checked in 'GEM_PATH=/Users/Sam/.gem/ruby/2.2.0:/Users/Sam/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0', execute `gem env` for more information
/Users/Sam/Documents/learn_ruby-master/Rakefile:2:in `<top (required)>'
(See full trace by running task with --trace)
Samuels-MacBook-Air:00_hello Sam$
is there something I need to install or configure that I haven't?
The text was updated successfully, but these errors were encountered:
Run: gem install rspec -v '~> 2'to install the latest 2.x version of rspec (per this line of your error: Gem::LoadError: Could not find 'rspec' (~> 2) - did find: [rspec-3.4.0]).
I'm very new to ruby and programing in general, forgive my ignorance. I'm trying to do a simple debugging exercise and am encountering an error that I can't make heads or tails of. When I try and run rake in the directory I get an error message about locating rspec?
is there something I need to install or configure that I haven't?
The text was updated successfully, but these errors were encountered: