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

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

   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/some_site.net-trunk)
rake aborted!
can't convert nil into String

and here's the code in Rakefile:

[code]
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'
[/code]

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