Closed breakliu closed 11 years ago
RAILS_ENV=production rake db:migrate rake aborted! uninitialized constant Kindeditor::Asset::AssetUploader /var/www/htdocs/dglbxxoa/app/models/kindeditor/asset.rb:3:in <class:Asset>' /var/www/htdocs/dglbxxoa/app/models/kindeditor/asset.rb:1:in<top (required)>' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/engine.rb:465:in block (2 levels) in eager_load!' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/engine.rb:464:ineach' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/engine.rb:464:in block in eager_load!' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/engine.rb:462:ineach' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/engine.rb:462:in eager_load!' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/engine.rb:347:ineager_load!' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/application/finisher.rb:56:in each' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/application/finisher.rb:56:inblock in module:Finisher' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/initializable.rb:30:in instance_exec' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/initializable.rb:30:inrun' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/initializable.rb:55:in block in run_initializers' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/initializable.rb:54:inrun_initializers' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/application.rb:214:in initialize!' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/railtie/configurable.rb:30:inmethod_missing' /var/www/htdocs/dglbxxoa/config/environment.rb:5:in <top (required)>' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/application.rb:188:inrequire_environment!' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/application.rb:248:in block in run_tasks_blocks' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:246:incall' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:246:in block in execute' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:241:ineach' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:241:in execute' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:184:inblock in invoke_with_call_chain' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:177:in invoke_with_call_chain' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:205:inblock in invoke_prerequisites' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:203:in each' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:203:ininvoke_prerequisites' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:183:in block in invoke_with_call_chain' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:177:ininvoke_with_call_chain' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:170:in invoke' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:143:ininvoke_task' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:101:in block (2 levels) in top_level' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:101:ineach' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:101:in block in top_level' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:110:inrun_with_threads' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:95:in top_level' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:73:inblock in run' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:160:in standard_exception_handling' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:70:inrun' /usr/local/rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in eval' /usr/local/rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in' Tasks: TOP => db:migrate => environment (See full trace by running task with --trace)
<class:Asset>' /var/www/htdocs/dglbxxoa/app/models/kindeditor/asset.rb:1:in
block (2 levels) in eager_load!' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/engine.rb:464:in
block in eager_load!' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/engine.rb:462:in
eager_load!' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/engine.rb:347:in
each' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/application/finisher.rb:56:in
instance_exec' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/initializable.rb:30:in
block in run_initializers' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/initializable.rb:54:in
initialize!' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/railtie/configurable.rb:30:in
<top (required)>' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/application.rb:188:in
block in run_tasks_blocks' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:246:in
block in execute' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:241:in
execute' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:184:in
invoke_with_call_chain' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:205:in
each' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:203:in
block in invoke_with_call_chain' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:177:in
invoke' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:143:in
block (2 levels) in top_level' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:101:in
block in top_level' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:110:in
top_level' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:73:in
standard_exception_handling' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:70:in
eval' /usr/local/rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in
RAILS_ENV=production rake db:migrate rake aborted! uninitialized constant Kindeditor::Asset::AssetUploader /var/www/htdocs/dglbxxoa/app/models/kindeditor/asset.rb:3:in'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
<class:Asset>' /var/www/htdocs/dglbxxoa/app/models/kindeditor/asset.rb:1:in
<top (required)>' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/engine.rb:465:inblock (2 levels) in eager_load!' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/engine.rb:464:in
each' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/engine.rb:464:inblock in eager_load!' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/engine.rb:462:in
each' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/engine.rb:462:ineager_load!' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/engine.rb:347:in
eager_load!' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/application/finisher.rb:56:ineach' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/application/finisher.rb:56:in
block in module:Finisher' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/initializable.rb:30:ininstance_exec' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/initializable.rb:30:in
run' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/initializable.rb:55:inblock in run_initializers' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/initializable.rb:54:in
run_initializers' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/application.rb:214:ininitialize!' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/railtie/configurable.rb:30:in
method_missing' /var/www/htdocs/dglbxxoa/config/environment.rb:5:in<top (required)>' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/application.rb:188:in
require_environment!' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/railties-4.0.0.rc1/lib/rails/application.rb:248:inblock in run_tasks_blocks' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:246:in
call' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:246:inblock in execute' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:241:in
each' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:241:inexecute' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:184:in
block in invoke_with_call_chain' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:177:ininvoke_with_call_chain' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:205:in
block in invoke_prerequisites' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:203:ineach' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:203:in
invoke_prerequisites' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:183:inblock in invoke_with_call_chain' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:177:in
invoke_with_call_chain' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/task.rb:170:ininvoke' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:143:in
invoke_task' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:101:inblock (2 levels) in top_level' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:101:in
each' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:101:inblock in top_level' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:110:in
run_with_threads' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:95:intop_level' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:73:in
block in run' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:160:instandard_exception_handling' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:70:in
run' /usr/local/rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:ineval' /usr/local/rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in