Update rakefile for rspec 3
Only support ruby 2.x