My rake is broken - "no such file to load..."

Hey folks

After doing an update from our svn server, rake is no longer working for
me, though it’s fine for my team-mates. I get this error:

no such file to load – spec/rake/spectask
/home/max/work/e_learning_resource/trunk/Rakefile:10:in `require’

when i try to do any rake task. The file it mentions looks like this,
with line 10 being the last line:

#Rakefile

Add your own tasks in files placed in lib/tasks ending in .rake,

for example lib/tasks/capistrano.rake, and they will automatically

be available to Rake.

require(File.join(File.dirname(FILE), ‘config’, ‘boot’))

require ‘rake’
require ‘rake/testtask’
require ‘rake/rdoctask’

require ‘tasks/rails’

Can anyone help?
thanks, max

I figured this out - it was because i’d updated rubygems, which was now
looking in a different folder for the gems than the one they were living
in. So, my gems were all missing, effectively.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs