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

**URL:** <https://www.ruby-forum.com/t/my-rake-is-broken-no-such-file-to-load/152589>\
**Category:** Rails\
**Created:** [November 5, 2008, 12:34pm UTC](https://www.ruby-forum.com/t/my-rake-is-broken-no-such-file-to-load/152589 "2008-11-05T12:34:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmaxvv](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Post date:** [November 5, 2008, 12:34pm UTC](https://www.ruby-forum.com/t/my-rake-is-broken-no-such-file-to-load/152589/1 "2008-11-05T12:34:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cmaxvv](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Post date:** [November 5, 2008, 3:22pm UTC](https://www.ruby-forum.com/t/my-rake-is-broken-no-such-file-to-load/152589/2 "2008-11-05T15:22:35Z")

</div>

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.
