teknisk
By:
teknisk

cannot load such file -- active_support/logger (LoadError)

November 28, 2015 1.2k views
Ruby on Rails One-Click Install Apps Ubuntu

Hello,
I keep getting this error after doing a hard reset on the droplet.

/usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support.rb:27:in `require': cannot load such file -- active_support/logger (LoadError)
    from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support.rb:27:in `<top (required)>'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails.rb:5:in `require'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails.rb:5:in `<top (required)>'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/all.rb:1:in `require'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/all.rb:1:in `<top (required)>'
    from /home/rails/config/application.rb:3:in `require'
    from /home/rails/config/application.rb:3:in `<top (required)>'
    from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /home/rails/config/environment.rb:2:in `<top (required)>'
    from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from config.ru:4:in `block in <main>'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize'
    from config.ru:1:in `new'
    from config.ru:1:in `<main>'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn.rb:46:in `eval'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn.rb:46:in `block in builder'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:752:in `call'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:752:in `build_app!'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:617:in `init_worker_process'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:639:in `worker_loop'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:508:in `spawn_missing_workers'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:519:in `maintain_worker_count'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:283:in `join'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/bin/unicorn:126:in `<top (required)>'
    from /usr/local/rvm/gems/ruby-2.2.1/bin/unicorn:23:in `load'
    from /usr/local/rvm/gems/ruby-2.2.1/bin/unicorn:23:in `<main>'
    from /usr/local/rvm/rubies/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'
    from /usr/local/rvm/rubies/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'/usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support.rb:27:in `require': cannot load such file -- active_support/logger (LoadError)
    from /usr/local/rvm/gems/ruby-2.2.1/gems/activesupport-4.2.1/lib/active_support.rb:27:in `<top (required)>'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails.rb:5:in `require'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails.rb:5:in `<top (required)>'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/all.rb:1:in `require'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/railties-4.2.1/lib/rails/all.rb:1:in `<top (required)>'
    from /home/rails/config/application.rb:3:in `require'
    from /home/rails/config/application.rb:3:in `<top (required)>'
    from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /home/rails/config/environment.rb:2:in `<top (required)>'
    from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from /usr/local/rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    from config.ru:4:in `block in <main>'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize'
    from config.ru:1:in `new'
    from config.ru:1:in `<main>'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn.rb:46:in `eval'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn.rb:46:in `block in builder'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:752:in `call'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:752:in `build_app!'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:617:in `init_worker_process'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:639:in `worker_loop'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:508:in `spawn_missing_workers'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:519:in `maintain_worker_count'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:283:in `join'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-5.0.1/bin/unicorn:126:in `<top (required)>'
    from /usr/local/rvm/gems/ruby-2.2.1/bin/unicorn:23:in `load'
    from /usr/local/rvm/gems/ruby-2.2.1/bin/unicorn:23:in `<main>'
    from /usr/local/rvm/rubies/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'
    from /usr/local/rvm/rubies/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'

I've tried to reinstall both Ruby and Rails with no success so far.

Be the first one to answer this question.