Macrow / rails_kindeditor

Kindeditor for Ruby on Rails
260 stars 108 forks source link

[Rails 4.0.0.rc1]uninitialized constant Kindeditor::Asset::AssetUploader #31

Closed breakliu closed 11 years ago

breakliu commented 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)