jeudi 27 septembre 2018

Rails server fails to load gems on startup

So I'm trying to resurrect an old rails application and hitting a hard roadblock. The previous maintainers are MIA and a skeleton README is the only tool I have in my arsenal. The app uses haml templates and unicorn as its webserver, running on ruby-1.9.3p392 and rails-3.2.18. Before diving into the problem, I'd like to disclose that the problem statement is not entirely specific (this might be attributed to my limited rails knowledge), in this light, what I'm asking for here is more a guide to help with diagnosing the issue and possible hotspots. That being said, here's my problem, the application won't start up. This is the error I get when booting up the app through ye ol' rails s:

=> Booting Unicorn
=> Rails 3.2.18 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
listening on addr=0.0.0.0:3000 fd=10
worker=0 spawning...
master process ready
worker=0 spawned pid=18424
worker=0 ready

Started GET "/" for 127.0.0.1 at 2018-09-27 20:07:55 +0200
Processing by ThingsController#index as HTML
Completed 401 Unauthorized in 5.5ms

Started GET "/users/sign_in" for 127.0.0.1 at 2018-09-27 20:07:55 +0200
Processing by Devise::SessionsController#new as HTML
  Rendered devise/sessions/new.html.haml within layouts/application (15.8ms)
Completed 500 Internal Server Error in 111.1ms

ActionView::Template::Error (undefined method `control_group' for #<ActionView::Helpers::FormBuilder:0x005579119e0270>):
    7:         = link_to icon_tag("#{provider}-sign") + " Sign in with #{provider.to_s.titleize}", omniauth_authorize_path(resource_name, provider), :class => 'btn btn-primary' 
    10:     = f.control_group :email do |f|
=> 1
  app/views/devise/sessions/new.html.haml:10:in `block in _app_views_devise_sessions_new_html_haml___1294862598904358005_46989231850520'
  app/views/devise/sessions/new.html.haml:2:in `_app_views_devise_sessions_new_html_haml___1294862598904358005_46989231850520'

  Rendered /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
  Rendered /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
  Rendered /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/actionpack-3.2.18/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.8ms)


Queue the skeleton README, I then attempt to try to run the application through unicorn using unicorn -p 3000 -c ./config/unicorn.rb -d, but no luck (these errors are on server startup):

{:unicorn_options=>{:listeners=>[], :config_file=>"./config/unicorn.rb"},
 :app=>
  #<Proc:0x00558b08705538@/home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/unicorn-4.6.3/lib/unicorn.rb:43 (lambda)>,
 :daemonize=>false}
I, [2018-09-27T19:30:34.480829 #16886]  INFO -- : Refreshing Gem list
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/rubygems/custom_require.rb:36 - cannot load such file -- bundler/setup
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/rubygems/custom_require.rb:36 - cannot load such file -- rubygems/source
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/rubygems/custom_require.rb:63 - cannot load such file -- rubygems/source
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/rubygems_integration.rb:590 - method `gem' not defined in Module
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/rubygems_integration.rb:588 - undefined method `find_spec_for_exe' for class `Module'
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/rubygems_integration.rb:588 - undefined method `activate_bin_path' for class `Module'
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/psych/core_ext.rb:16 - method `to_yaml' not defined in Object
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/psych/core_ext.rb:29 - method `yaml_as' not defined in Module
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/psych/deprecated.rb:79 - undefined method `to_yaml_properties' for class `Object'
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `expansions' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `expansions' not defined in Class
Exception `TypeError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/object/duplicable.rb:111 - can't copy BigDecimal
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `valid_options' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `macro' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `valid_options' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `valid_options' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `macro' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `valid_options' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `macro' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `valid_options' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `macro' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `valid_options' not defined in Class
Using Ext extension for JSON.
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `middleware_stack' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_layout_conditions' not defined in ActionController::Base
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_layout' not defined in ActionController::Base
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_validators' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `reflections' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_save_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_validate_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_accessible_attributes' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_active_authorizer' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_create_callbacks' not defined in Class
Type application/vnd.ms-fontobject already registered as a variant of application/vnd.ms-fontobject.
Type application/vnd.ms-word.document.macroEnabled.12 already registered as a variant of application/vnd.ms-word.document.macroenabled.12.
Type application/vnd.ms-word.template.macroEnabled.12 already registered as a variant of application/vnd.ms-word.template.macroenabled.12.
Type multipart/x-parallel already registered as a variant of multipart/parallel.
Type text/plain already registered as a variant of text/plain.
Type video/vnd.dlna.mpeg-tts already registered as a variant of video/vnd.dlna.mpeg-tts.
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251 - cannot load such file -- posix/spawn
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:240 - cannot load such file -- posix/spawn
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:81 - cannot load such file -- phantomjs_polyfill-rails
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:81 - cannot load such file -- wkhtmltopdf-binary
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:95 - cannot load such file -- wkhtmltopdf/binary
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251 - cannot load such file -- active_support/proxy_object
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:240 - cannot load such file -- active_support/proxy_object
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251 - cannot load such file -- action_view/dependency_tracker
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:240 - cannot load such file -- action_view/dependency_tracker
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251 - cannot load such file -- cache_digests
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:240 - cannot load such file -- cache_digests
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251 - cannot load such file -- oily_png
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:240 - cannot load such file -- oily_png
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:81 - cannot load such file -- binding_of_caller
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:81 - cannot load such file -- capistrano
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:81 - cannot load such file -- capistrano-bundler
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:95 - cannot load such file -- capistrano/bundler
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:81 - cannot load such file -- capistrano-rails
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:95 - cannot load such file -- capistrano/rails
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:81 - cannot load such file -- capistrano-rvm
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:95 - cannot load such file -- capistrano/rvm
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:81 - cannot load such file -- sqlite3
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:81 - cannot load such file -- intellij-coffee-script-debugger
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:95 - cannot load such file -- intellij/coffee/script/debugger
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:81 - cannot load such file -- better_errors
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:81 - cannot load such file -- guard-jasmine
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:95 - cannot load such file -- guard/jasmine
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:81 - cannot load such file -- jasmine-rails
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:95 - cannot load such file -- jasmine/rails
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:81 - cannot load such file -- pry-rails
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:95 - cannot load such file -- pry/rails
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:81 - cannot load such file -- quiet_assets
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:81 - cannot load such file -- rspec-rails
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/bundler-1.16.5/lib/bundler/runtime.rb:95 - cannot load such file -- rspec/rails
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_layout_conditions' not defined in ActionMailer::Base
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_layout' not defined in ActionMailer::Base
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251 - cannot load such file -- fast_xs
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:240 - cannot load such file -- fast_xs
Exception `ArgumentError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/psych/scalar_scanner.rb:91 - invalid value for Integer(): "<<"
Exception `EOFError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/newrelic_rpm-3.5.3.25/lib/new_relic/local_environment.rb:112 - end of file reached
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_helpers' not defined in Class
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:469 - cannot load such file -- devise/mailer_helper.rb
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:363 - cannot load such file -- devise/mailer_helper.rb
Exception `LoadError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:317 - Missing helper file helpers/devise/mailer_helper.rb
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_layout' not defined in Devise::Mailer
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_routes' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_validators' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `reflections' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_save_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_create_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_update_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_validate_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_validation_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_accessible_attributes' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_active_authorizer' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_initialize_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_destroy_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `nested_attributes_options' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `observed_classes' not defined in ThingObserver
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_validators' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `reflections' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_save_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_create_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_update_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_validate_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_accessible_attributes' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_active_authorizer' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `observed_classes' not defined in ProductObserver
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_validators' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `reflections' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_save_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_accessible_attributes' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_active_authorizer' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_validate_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `observed_classes' not defined in ThingUserObserver
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_create_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `middleware_stack' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_routes' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_validators' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_validation_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_validate_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `reflections' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_save_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_update_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_create_callbacks' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_accessible_attributes' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `_active_authorizer' not defined in Class
Exception `NameError' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activesupport-3.2.18/lib/active_support/core_ext/module/remove_method.rb:4 - method `default_scopes' not defined in Class
{:inner_app=>VPNPricing::Application}
I, [2018-09-27T19:30:43.556969 #16886]  INFO -- : listening on addr=0.0.0.0:3000 fd=10
Exception `PG::Error' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activerecord-3.2.18/lib/active_record/connection_adapters/postgresql_adapter.rb:365 - connection is closed
Exception `PG::Error' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activerecord-3.2.18/lib/active_record/connection_adapters/postgresql_adapter.rb:365 - connection is closed
Exception `PG::Error' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activerecord-3.2.18/lib/active_record/connection_adapters/postgresql_adapter.rb:365 - connection is closed
I, [2018-09-27T19:30:43.565426 #16886]  INFO -- : master process ready
Exception `PG::Error' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activerecord-3.2.18/lib/active_record/connection_adapters/postgresql_adapter.rb:365 - connection is closed
I, [2018-09-27T19:30:43.574812 #16922]  INFO -- : worker=0 ready
Exception `PG::Error' at /home/ntokozo/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/activerecord-3.2.18/lib/active_record/connection_adapters/postgresql_adapter.rb:365 - connection is closed
I, [2018-09-27T19:30:43.577404 #16926]  INFO -- : worker=1 ready
I, [2018-09-27T19:30:43.581068 #16930]  INFO -- : worker=2 ready

Any guidance or pointers would be appreciated :).

Aucun commentaire:

Enregistrer un commentaire