可能是重复问题:
Rails 3.0&Ruby 1.9.2rc:Rake命令返回“already initialized constant”和“stack level too deep”错误。有任何想法吗?
我在Windows Vista上使用Ruby版本1.9.1。当我使用任何rake命令时,都会出现rake中止错误。这并不是在所有我的应用程序文件夹中都发生。它只在特定的应用程序文件夹中发生。
C:\rails_project\stunetwork>rake db:reset
(in C:/rails_project/stunetwork)
rake aborted!
stack level too deep
C:/Ruby191/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake.rb:2383:in `raw_load_rak
efile'
(See full trace by running task with --trace)