Rake db:drop升级后的ruby 1.9.3-p0和Rails 3.2后无效

时间:2012-02-06 10:08:43

标签: ruby-on-rails-3

/Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/version.rb:2:警告:已经初始化的常量版本 /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/version.rb:5:警告:已初始化常量MAJOR /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/version.rb:5:警告:已初始化常量MINOR /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/version.rb:5:警告:已初始化常量BUILD /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/version.rb:5:警告:已初始化常量PATCH /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/version.rb:6:警告:已初始化常数NUMBERS /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake.rb:27:警告:已初始化常量RAKEVERSION /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/early_time.rb:17:警告:早已初始化常数 /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/alt_system.rb:32:警告:已初始化常量WINDOWS /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:31:警告:已初始化常量DEFAULT_RAKEFILES 警告:可能与Rake扩展冲突:字符串#ext已存在 警告:可能与Rake扩展冲突:String #pathmap已存在 /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/task_arguments.rb:77:警告:已初始化常量EMPTY_TASK_ARGS /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/invocation_chain.rb:49:警告:已初始化常量EMPTY /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/file_utils.rb:9:警告:已初始化常量RUBY /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/file_utils.rb:86:警告:已初始化常量LN_SUPPORTED /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb:16:警告:已初始化常量DEFAULT /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/dsl_definition.rb:150:警告:已经初始化的常量DeprecatedCommands /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/file_list.rb:44:警告:已初始化常量ARRAY_METHODS /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/file_list.rb:47:警告:已初始化常量MUST_DEFINE /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/file_list.rb:51:警告:已初始化常量MUST_NOT_DEFINE /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/file_list.rb:55:警告:已初始化常量SPECIAL_RETURN /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/file_list.rb:61:警告:已初始化常量DELEGATING_METHODS /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/file_list.rb:364:警告:已初始化常量DEFAULT_IGNORE_PATTERNS /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/file_list.rb:370:警告:已初始化常量DEFAULT_IGNORE_PROCS /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake.rb:68:警告:已经初始化的常量FileList /Users/aditidhus/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake.rb:69:警告:已初始化常量RakeFileUtils 耙子流产了! 堆栈级别太深

1 个答案:

答案 0 :(得分:2)

尝试使用:bundle exec rails db:drop