`method_missing': неопределенный метод`load_defaults' с гемом jquery-smooth-scroll-rails

Я пытаюсь использовать гем jquery-smooth-scroll-rails ( https://rubygems.org/gems/jquery-smooth-scroll-rails/versions/0.0.5) в своем приложении rails, но когда я его добавляю к моему файлу gem и запустить сервер с rails s я получаю следующую ошибку в моем терминале:

Traceback (most recent call last):
    23: from ./bin/rails:3:in `<main>'
    22: from ./bin/rails:3:in `load'
    21: from /Users/owenmoss/code/OKMantis/ceremonibiza/bin/spring:15:in `<top (required)>'
    20: from /Users/owenmoss/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:70:in `require'
    19: from /Users/owenmoss/.rbenv/versions/2.5.0/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:70:in `require'
    18: from /Users/owenmoss/code/OKMantis/ceremonibiza/vendor/bundle/ruby/2.5.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `<top (required)>'
    17: from /Users/owenmoss/code/OKMantis/ceremonibiza/vendor/bundle/ruby/2.5.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `load'
    16: from /Users/owenmoss/code/OKMantis/ceremonibiza/vendor/bundle/ruby/2.5.0/gems/spring-2.0.2/bin/spring:49:in `<top (required)>'
    15: from /Users/owenmoss/code/OKMantis/ceremonibiza/vendor/bundle/ruby/2.5.0/gems/spring-2.0.2/lib/spring/client.rb:30:in `run'
    14: from /Users/owenmoss/code/OKMantis/ceremonibiza/vendor/bundle/ruby/2.5.0/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call'
    13: from /Users/owenmoss/code/OKMantis/ceremonibiza/vendor/bundle/ruby/2.5.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `call'
    12: from /Users/owenmoss/code/OKMantis/ceremonibiza/vendor/bundle/ruby/2.5.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `load'
    11: from /Users/owenmoss/code/OKMantis/ceremonibiza/bin/rails:9:in `<top (required)>'
    10: from /Users/owenmoss/code/OKMantis/ceremonibiza/bin/rails:9:in `require'
     9: from /Users/owenmoss/code/OKMantis/ceremonibiza/vendor/bundle/ruby/2.5.0/gems/railties-4.2.10/lib/rails/commands.rb:17:in `<top (required)>'
     8: from /Users/owenmoss/code/OKMantis/ceremonibiza/vendor/bundle/ruby/2.5.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
     7: from /Users/owenmoss/code/OKMantis/ceremonibiza/vendor/bundle/ruby/2.5.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:75:in `server'
     6: from /Users/owenmoss/code/OKMantis/ceremonibiza/vendor/bundle/ruby/2.5.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:75:in `tap'
     5: from /Users/owenmoss/code/OKMantis/ceremonibiza/vendor/bundle/ruby/2.5.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:78:in `block in server'
     4: from /Users/owenmoss/code/OKMantis/ceremonibiza/vendor/bundle/ruby/2.5.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:78:in `require'
     3: from /Users/owenmoss/code/OKMantis/ceremonibiza/config/application.rb:9:in `<top (required)>'
     2: from /Users/owenmoss/code/OKMantis/ceremonibiza/config/application.rb:10:in `<module:Ceremonibiza>'
     1: from /Users/owenmoss/code/OKMantis/ceremonibiza/config/application.rb:18:in `<class:Application>'
/Users/owenmoss/code/OKMantis/ceremonibiza/vendor/bundle/ruby/2.5.0/gems/railties-4.2.10/lib/rails/railtie/configuration.rb:95:in `method_missing': undefined method `load_defaults' for #<Rails::Application::Configuration:0x00007f9c0b226d80> (NoMethodError)

Версия рельсов:Rails 4.2.10

Это как-то связано с Railtie Gem, который является зависимостью от jquery-smooth-scroll-rails gem. Я пробовал разные вещи, но ничего не получается. Я хотел бы использовать драгоценный камень. Какие-либо предложения?

0 ответов

Другие вопросы по тегам