Forum: Ruby on Rails Rake environment hosed - error on Rakefile

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Clem R. (Guest)
on 2007-06-04 19:21

   Suddenly, my dev environment is completely destroyed.  I have
multiple projects and whenever I try to run any rake tasks I get an
error on line 11 of my Rakefile.

Here's the error:

user$ rake
(in /Users/user/near-time/
rake aborted!
can't convert nil into String

and here's the code in Rakefile:

require(File.join(File.dirname(__FILE__), 'config', 'boot'))

# Define our default task before Rails can
desc "Run all the tests on a fresh test database"
task :default => [ 'db:migrate', :clone_structure_to_test, 'test:all' ]

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

require 'tasks/rails'
This topic is locked and can not be replied to.