升级Rails应用程序时未初始化的常量Domino :: Application :: Ckeditor

时间:2019-02-01 15:38:04

标签: ruby-on-rails

嗨,我需要在ruby上修复旧的应用程序,我可以用它来解决新问题,它可以帮助我从ruby 1.9.3 rails 4.0.1迁移

我需要设置一个旧网站,但我无法正确配置

$ rails server
Traceback (most recent call last):
    25: from bin/rails:3:in `<main>'
    24: from bin/rails:3:in `load'
    23: from /Users/FightForDObro/Desktop/Done/bin/spring:15:in `<top (required)>'
    22: from /Users/FightForDObro/Desktop/Done/bin/spring:15:in `require'
    21: from /Users/FightForDObro/.rvm/gems/ruby-2.6.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `<top (required)>'
    20: from /Users/FightForDObro/.rvm/gems/ruby-2.6.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `load'
    19: from /Users/FightForDObro/.rvm/gems/ruby-2.6.0/gems/spring-2.0.2/bin/spring:49:in `<top (required)>'
    18: from /Users/FightForDObro/.rvm/gems/ruby-2.6.0/gems/spring-2.0.2/lib/spring/client.rb:30:in `run'
    17: from /Users/FightForDObro/.rvm/gems/ruby-2.6.0/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call'
    16: from /Users/FightForDObro/.rvm/gems/ruby-2.6.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `call'
    15: from /Users/FightForDObro/.rvm/gems/ruby-2.6.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `load'
    14: from /Users/FightForDObro/Desktop/Done/bin/rails:9:in `<top (required)>'
    13: from /Users/FightForDObro/Desktop/Done/bin/rails:9:in `require'
    12: from /Users/FightForDObro/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/commands.rb:18:in `<top (required)>'
    11: from /Users/FightForDObro/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/command.rb:46:in `invoke'
    10: from /Users/FightForDObro/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/command/base.rb:65:in `perform'
     9: from /Users/FightForDObro/.rvm/gems/ruby-2.6.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
     8: from /Users/FightForDObro/.rvm/gems/ruby-2.6.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
     7: from /Users/FightForDObro/.rvm/gems/ruby-2.6.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
     6: from /Users/FightForDObro/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/commands/server/server_command.rb:142:in `perform'
     5: from /Users/FightForDObro/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/commands/server/server_command.rb:142:in `tap'
     4: from /Users/FightForDObro/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/commands/server/server_command.rb:145:in `block in perform'
     3: from /Users/FightForDObro/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/commands/server/server_command.rb:145:in `require'
     2: from /Users/FightForDObro/Desktop/Done/config/application.rb:10:in `<top (required)>'
     1: from /Users/FightForDObro/Desktop/Done/config/application.rb:11:in `<module:Domino>'
/Users/FightForDObro/Desktop/Done/config/application.rb:35:in `<class:Application>': uninitialized constant Domino::Application::Ckeditor (NameError)
$

我尝试修复,我希望我可以修复所有错误

0 个答案:

没有答案