makersacademy / ruby-kickstart

Ruby Kickstart
MIT License
39 stars 382 forks source link

Wrong rspec to run rake? #207

Closed ViolaCrellin closed 8 years ago

ViolaCrellin commented 8 years ago

Hey,

I think that my rake won't run because my rspec is too advanced.

Gem::LoadError: Could not find 'rspec' (~> 3.2.0) - did find: [rspec-3.4.0] Checked in 'GEM_PATH=/Users/Viola/.rvm/gems/ruby-2.2.1:/Users/Viola/.rvm/gems/ruby-2.2.1@global', execute gem env for more information

So I edited the version of rspec at the top of the Rakefile to 3.4.0 (from 3.2.0)

I tried running 'rake 1.1' and this is what I got:

(in /Users/Viola/Desktop/Programming/MakersAcademy/Pre-Course/Week2/ruby-kickstart) rake aborted! SyntaxError: /Users/Viola/Desktop/Programming/MakersAcademy/Pre-Course/Week2/ruby-kickstart/Rakefile:13: syntax error, unexpected ':', expecting end-of-input session2 , prb2 = t2.name.split ':' ^ /Users/Viola/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in eval' /Users/Viola/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in

' (See full trace by running task with --trace)

Which means there's an error on line 13...

I've been chasing around the internet for a while now, any help most welcome.