Skip to content

NoMethodError: undefined method `positive?' for 20:Fixnum #89

@dwaynemac

Description

@dwaynemac

Trying to run RAILS_ENV=production script/delayed_job -n2 restart
fails with

/home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/daemons-1.4.1/lib/daemons/application.rb:409:in `wait_and_retry_kill_harder': undefined method `positive?' for 20:Fixnum (NoMethodError)
        from /home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/daemons-1.4.1/lib/daemons/application.rb:386:in `stop'
        from /home/ubuntu/crm/shared/bundle/ruby/2.2.0/gems/daemons-1.4.1/lib/daemons/application_group.rb:181:in `block (2 levels) in stop_all'

This is my Gemfile.lock

GIT
  remote: https://github.com/dwaynemac/omniauth-hubspot
  revision: 3eaa1efca8eafa2aedaccd844216e2a98ab50299
  specs:
    omniauth-hubspot (0.1.1)
      oauth2
      omniauth
      omniauth-oauth2

GIT
  remote: https://github.com/zebitex/aws-ses.git
  revision: 65e1ff1c3c2031b243f773cb9e61df6e49db71dd
  ref: 78-sigv4-problem
  specs:
    aws-ses (0.7.1)
      builder
      mail (> 2.2.5)
      mime-types
      xml-simple

GEM
  remote: http://rubygems.org/
  specs:
    RedCloth (4.3.2)
    accounts_client (0.3.3)
      gravtastic
      logical_model (>= 0.7.1)
      railties (>= 3.1)
    actionmailer (4.2.11.3)
      actionpack (= 4.2.11.3)
      actionview (= 4.2.11.3)
      activejob (= 4.2.11.3)
      mail (~> 2.5, >= 2.5.4)
      rails-dom-testing (~> 1.0, >= 1.0.5)
    actionpack (4.2.11.3)
      actionview (= 4.2.11.3)
      activesupport (= 4.2.11.3)
      rack (~> 1.6)
      rack-test (~> 0.6.2)
      rails-dom-testing (~> 1.0, >= 1.0.5)
      rails-html-sanitizer (~> 1.0, >= 1.0.2)
    actionview (4.2.11.3)
      activesupport (= 4.2.11.3)
      builder (~> 3.1)
      erubis (~> 2.7.0)
      rails-dom-testing (~> 1.0, >= 1.0.5)
      rails-html-sanitizer (~> 1.0, >= 1.0.3)
    activejob (4.2.11.3)
      activesupport (= 4.2.11.3)
      globalid (>= 0.3.0)
    activemodel (4.2.11.3)
      activesupport (= 4.2.11.3)
      builder (~> 3.1)
    activerecord (4.2.11.3)
      activemodel (= 4.2.11.3)
      activesupport (= 4.2.11.3)
      arel (~> 6.0)
    activerecord-session_store (1.1.3)
      actionpack (>= 4.0)
      activerecord (>= 4.0)
      multi_json (~> 1.11, >= 1.11.2)
      rack (>= 1.5.2, < 3)
      railties (>= 4.0)
    activesupport (4.2.11.3)
      i18n (~> 0.7)
      minitest (~> 5.1)
      thread_safe (~> 0.3, >= 0.3.4)
      tzinfo (~> 1.1)
    activity_stream_client (0.1.0)
      logical_model (= 0.7.1)
      railties (>= 3.1)
    airbrussh (1.4.0)
      sshkit (>= 1.6.1, != 1.7.0)
    appsignal (3.0.21)
      rack
    arel (6.0.4)
    attendance_client (0.0.4)
      logical_model (>= 0.5.13)
      railties (>= 3.1)
    aws-eventstream (1.1.1)
    aws-partitions (1.493.0)
    aws-sdk-core (3.119.1)
      aws-eventstream (~> 1, >= 1.0.2)
      aws-partitions (~> 1, >= 1.239.0)
      aws-sigv4 (~> 1.1)
      jmespath (~> 1.0)
    aws-sdk-sns (1.44.0)
      aws-sdk-core (~> 3, >= 3.119.0)
      aws-sigv4 (~> 1.1)
    aws-sigv4 (1.2.4)
      aws-eventstream (~> 1, >= 1.0.2)
    bcrypt (3.1.16)
    binding_of_caller (1.0.0)
      debug_inspector (>= 0.0.1)
    bootstrap-datepicker-rails (1.9.0.1)
      railties (>= 3.0)
    builder (3.2.4)
    bullet (5.7.6)
      activesupport (>= 3.0.0)
      uniform_notifier (~> 1.11.0)
    byebug (10.0.2)
    calculus (0.2.0)
    cancan (1.6.10)
    capistrano (3.16.0)
      airbrussh (>= 1.0.0)
      i18n
      rake (>= 10.0.0)
      sshkit (>= 1.9.0)
    capistrano-bundler (2.0.1)
      capistrano (~> 3.1)
    capistrano-ext (1.2.1)
      capistrano (>= 1.0.0)
    capistrano-rails (1.6.1)
      capistrano (~> 3.1)
      capistrano-bundler (>= 1.1, < 3)
    capistrano-rbenv (2.2.0)
      capistrano (~> 3.1)
      sshkit (~> 1.3)
    capistrano3-unicorn (0.2.1)
      capistrano (~> 3.1, >= 3.1.0)
    carrierwave (1.3.2)
      activemodel (>= 4.0.0)
      activesupport (>= 4.0.0)
      mime-types (>= 1.16)
      ssrf_filter (~> 1.0)
    chartkick (3.4.2)
    coffee-rails (4.2.2)
      coffee-script (>= 2.2.0)
      railties (>= 4.0.0)
    coffee-script (2.4.1)
      coffee-script-source
      execjs
    coffee-script-source (1.12.2)
    commonjs (0.2.7)
    concurrent-ruby (1.1.10)
    connection_pool (2.2.5)
    contacts_client (0.0.54.pre.c)
      logical_model (>= 0.6.5)
      railties (>= 3.1)
    crass (1.0.6)
    daemons (1.4.1)
    dalli (2.6.4)
    dalli-delete-matched (1.3.1)
      dalli
    database_cleaner (1.99.0)
    debug_inspector (1.1.0)
    delayed_job (4.1.10)
      activesupport (>= 3.0, < 8.0)
    delayed_job_active_record (4.1.7)
      activerecord (>= 3.0, < 8.0)
      delayed_job (>= 3.0, < 5)
    delayed_job_web (1.4.4)
      activerecord (> 3.0.0)
      delayed_job (> 2.0.3)
      rack-protection (>= 1.5.5)
      sinatra (>= 1.4.4)
    devise (3.4.1)
      bcrypt (~> 3.0)
      orm_adapter (~> 0.1)
      railties (>= 3.2.6, < 5)
      responders
      thread_safe (~> 0.1)
      warden (~> 1.2.3)
    diff-lcs (1.5.0)
    draper (2.1.0)
      actionpack (>= 3.0)
      activemodel (>= 3.0)
      activesupport (>= 3.0)
      request_store (~> 1.0)
    erubis (2.7.0)
    ethon (0.6.3)
      ffi (>= 1.3.0)
      mime-types (~> 1.18)
    excon (0.91.0)
    execjs (2.8.1)
    factory_bot (4.11.1)
      activesupport (>= 3.0.0)
    factory_bot_rails (4.11.1)
      factory_bot (~> 4.11.1)
      railties (>= 3.0.0)
    fancybox-rails (0.3.1)
      railties (>= 3.1.0)
    faraday (0.17.4)
      multipart-post (>= 1.2, < 3)
    ffi (1.12.2)
    figaro (1.2.0)
      thor (>= 0.14.0, < 2)
    fnz_client (0.0.5)
      logical_model (>= 0.5.11)
      railties (>= 3.1)
    fog-aws (3.13.0)
      fog-core (~> 2.1)
      fog-json (~> 1.1)
      fog-xml (~> 0.1)
    fog-core (2.2.4)
      builder
      excon (~> 0.71)
      formatador (~> 0.2)
      mime-types
    fog-json (1.2.0)
      fog-core
      multi_json (~> 1.10)
    fog-xml (0.1.4)
      fog-core
      nokogiri (>= 1.5.11, < 2.0.0)
    foreman (0.87.2)
    formatador (0.3.0)
    formtastic (3.0.0)
      actionpack (>= 3.2.13)
    genderize-io (1.4.0)
      typhoeus
    get_process_mem (0.2.7)
      ffi (~> 1.0)
    globalid (0.4.2)
      activesupport (>= 4.2.0)
    gravtastic (3.2.6)
    hashie (3.6.0)
    i18n (0.9.5)
      concurrent-ruby (~> 1.0)
    i18n-js (3.0.0)
      i18n (~> 0.6, >= 0.6.6)
    jmespath (1.6.0)
    jquery-fileupload-rails (1.0.0)
      actionpack (>= 3.1)
      railties (>= 3.1)
      sassc
    jquery-rails (4.4.0)
      rails-dom-testing (>= 1, < 3)
      railties (>= 4.2.0)
      thor (>= 0.14, < 2.0)
    jquery-ui-rails (6.0.1)
      railties (>= 3.2.16)
    jwt (2.3.0)
    kaminari (1.2.2)
      activesupport (>= 4.1.0)
      kaminari-actionview (= 1.2.2)
      kaminari-activerecord (= 1.2.2)
      kaminari-core (= 1.2.2)
    kaminari-actionview (1.2.2)
      actionview
      kaminari-core (= 1.2.2)
    kaminari-activerecord (1.2.2)
      activerecord
      kaminari-core (= 1.2.2)
    kaminari-core (1.2.2)
    kgio (2.11.4)
    less (2.6.0)
      commonjs (~> 0.2.7)
    less-rails (2.8.0)
      actionpack (>= 4.0)
      less (~> 2.6.0)
      sprockets (> 2, < 4)
      tilt
    less-rails-bootstrap (3.3.5.0)
      less-rails (>= 2.6, <= 2.8)
    libv8 (3.16.14.19)
    logical_model (0.7.1)
      activemodel
      activesupport
      ethon (= 0.6.3)
      kaminari (~> 1.2.1)
      typhoeus (= 0.6.4)
    loofah (2.19.0)
      crass (~> 1.0.2)
      nokogiri (>= 1.5.9)
    mail (2.7.1)
      mini_mime (>= 0.1.1)
    mailing_client (0.0.5)
      logical_model (>= 0.5.5)
      railties (>= 3.1)
    messaging_client (0.3.0)
      aws-sdk-sns (~> 1)
      logical_model (= 0.7.1)
      railties (>= 3.1)
    mime-types (1.25.1)
    mini_magick (4.11.0)
    mini_mime (1.1.2)
    mini_portile2 (2.4.0)
    minitest (5.15.0)
    multi_json (1.15.0)
    multi_xml (0.6.0)
    multipart-post (2.1.1)
    mysql2 (0.4.10)
    net-http-persistent (3.1.0)
      connection_pool (~> 2.2)
    net-scp (3.0.0)
      net-ssh (>= 2.6.5, < 7.0.0)
    net-ssh (5.2.0)
    nokogiri (1.9.1)
      mini_portile2 (~> 2.4.0)
    nokogumbo (2.0.5)
      nokogiri (~> 1.8, >= 1.8.4)
    oauth2 (1.4.7)
      faraday (>= 0.8, < 2.0)
      jwt (>= 1.0, < 3.0)
      multi_json (~> 1.3)
      multi_xml (~> 0.5)
      rack (>= 1.2, < 3)
    omniauth (1.4.2)
      hashie (>= 1.2, < 4)
      rack (>= 1.0, < 3)
    omniauth-mailchimp (2.1.0)
      omniauth (~> 1.0)
      omniauth-oauth2
    omniauth-notion (0.0.2)
      omniauth (~> 1.0)
    omniauth-oauth2 (1.5.0)
      oauth2 (~> 1.1)
      omniauth (~> 1.2)
    orm_adapter (0.5.0)
    padma-assets (0.3.20)
      railties (>= 3.1)
    pg (1.2.3)
    power_assert (2.0.1)
    protected_attributes (1.1.4)
      activemodel (>= 4.0.1, < 5.0)
    rack (1.6.13)
    rack-cache (1.7.1)
      rack (>= 0.4)
    rack-cors (1.0.6)
      rack (>= 1.6.0)
    rack-protection (1.5.5)
      rack
    rack-test (0.6.3)
      rack (>= 1.0)
    rails (4.2.11.3)
      actionmailer (= 4.2.11.3)
      actionpack (= 4.2.11.3)
      actionview (= 4.2.11.3)
      activejob (= 4.2.11.3)
      activemodel (= 4.2.11.3)
      activerecord (= 4.2.11.3)
      activesupport (= 4.2.11.3)
      bundler (>= 1.3.0, < 2.0)
      railties (= 4.2.11.3)
      sprockets-rails
    rails-deprecated_sanitizer (1.0.4)
      activesupport (>= 4.2.0.alpha)
    rails-dom-testing (1.0.9)
      activesupport (>= 4.2.0, < 5.0)
      nokogiri (~> 1.6)
      rails-deprecated_sanitizer (>= 1.0.1)
    rails-html-sanitizer (1.4.3)
      loofah (~> 2.3)
    rails_refactor (1.4.6)
    railties (4.2.11.3)
      actionpack (= 4.2.11.3)
      activesupport (= 4.2.11.3)
      rake (>= 0.8.7)
      thor (>= 0.18.1, < 2.0)
    raindrops (0.20.0)
    rake (11.3.0)
    rb-fsevent (0.11.1)
    rb-inotify (0.10.1)
      ffi (~> 1.0)
    redcarpet (3.5.1)
    ref (2.0.0)
    request_store (1.5.1)
      rack (>= 1.4)
    responders (2.4.1)
      actionpack (>= 4.2.0, < 6.0)
      railties (>= 4.2.0, < 6.0)
    rexml (3.2.5)
    rinku (2.0.6)
    rspec-core (3.11.0)
      rspec-support (~> 3.11.0)
    rspec-expectations (3.11.0)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (~> 3.11.0)
    rspec-its (1.3.0)
      rspec-core (>= 3.0.0)
      rspec-expectations (>= 3.0.0)
    rspec-mocks (3.11.0)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (~> 3.11.0)
    rspec-rails (4.1.2)
      actionpack (>= 4.2)
      activesupport (>= 4.2)
      railties (>= 4.2)
      rspec-core (~> 3.10)
      rspec-expectations (~> 3.10)
      rspec-mocks (~> 3.10)
      rspec-support (~> 3.10)
    rspec-support (3.11.0)
    ruby-ole (1.2.12.2)
    sanitize (5.2.3)
      crass (~> 1.0.2)
      nokogiri (>= 1.8.0)
      nokogumbo (~> 2.0)
    sass (3.7.4)
      sass-listen (~> 4.0.0)
    sass-listen (4.0.0)
      rb-fsevent (~> 0.9, >= 0.9.4)
      rb-inotify (~> 0.9, >= 0.9.7)
    sass-rails (5.0.7)
      railties (>= 4.0.0, < 6)
      sass (~> 3.1)
      sprockets (>= 2.8, < 4.0)
      sprockets-rails (>= 2.0, < 4.0)
      tilt (>= 1.1, < 3)
    sassc (2.4.0)
      ffi (~> 1.9)
    select2-rails (4.0.13)
    shoulda (4.0.0)
      shoulda-context (~> 2.0)
      shoulda-matchers (~> 4.0)
    shoulda-context (2.0.0)
    shoulda-kept-assign-to (1.1.0)
      shoulda-matchers (>= 2.1.0)
    shoulda-matchers (4.0.1)
      activesupport (>= 4.2.0)
    sinatra (1.4.8)
      rack (~> 1.5)
      rack-protection (~> 1.4)
      tilt (>= 1.3, < 3)
    spreadsheet (1.3.0)
      ruby-ole
    sprockets (3.0.0)
      rack (~> 1.0)
    sprockets-rails (3.2.2)
      actionpack (>= 4.0)
      activesupport (>= 4.0)
      sprockets (>= 3.0.0)
    sshkit (1.21.2)
      net-scp (>= 1.1.2)
      net-ssh (>= 2.8.0)
    ssrf_filter (1.0.7)
    stripe (4.24.0)
      faraday (~> 0.13)
      net-http-persistent (~> 3.0)
    subcontractor (0.6.1)
    test-unit (3.5.3)
      power_assert
    therubyracer (0.12.3)
      libv8 (~> 3.16.14.15)
      ref
    thor (1.2.1)
    thread_safe (0.3.6)
    tilt (2.0.10)
    typhoeus (0.6.4)
      ethon (~> 0.6.0)
    tzinfo (1.2.10)
      thread_safe (~> 0.1)
    uglifier (3.2.0)
      execjs (>= 0.3.0, < 3)
    unicorn (6.1.0)
      kgio (~> 2.6)
      raindrops (~> 0.7)
    unicorn-worker-killer (0.4.5)
      get_process_mem (~> 0)
      unicorn (>= 4, < 7)
    uniform_notifier (1.11.0)
    warden (1.2.7)
      rack (>= 1.0)
    web-console (2.3.0)
      activemodel (>= 4.0)
      binding_of_caller (>= 0.7.2)
      railties (>= 4.0)
      sprockets-rails (>= 2.0, < 4.0)
    xml-simple (1.1.9)
      rexml
    yard (0.8.7.6)
    yard-restful (1.2.4)
      yard (~> 0.8.3)

PLATFORMS
  ruby

DEPENDENCIES
  RedCloth
  accounts_client (= 0.3.3)
  activerecord-session_store
  activity_stream_client (>= 0.0.15)
  appsignal
  attendance_client (= 0.0.4)
  aws-ses!
  bootstrap-datepicker-rails
  bullet (~> 5.7.6)
  byebug
  calculus
  cancan (~> 1.6.7)
  capistrano (~> 3.1)
  capistrano-bundler
  capistrano-ext
  capistrano-rails (~> 1.1)
  capistrano-rbenv
  capistrano3-unicorn
  carrierwave
  chartkick
  coffee-rails (~> 4.2.2)
  contacts_client (= 0.0.54.pre.c)
  daemons
  dalli (= 2.6.4)
  dalli-delete-matched
  database_cleaner
  delayed_job_active_record (= 4.1.7)
  delayed_job_web
  devise (= 3.4.1)
  draper (~> 2.1)
  execjs
  factory_bot_rails
  fancybox-rails
  faraday (~> 0.8)
  figaro
  fnz_client (~> 0.0.5)
  fog-aws
  foreman
  formtastic (~> 3.0.0)
  genderize-io (~> 1.4)
  i18n (= 0.9.5)
  i18n-js (= 3.0.0)
  jquery-fileupload-rails
  jquery-rails
  jquery-ui-rails
  less-rails-bootstrap
  logical_model (>= 0.6.6)
  mailing_client (~> 0.0.5)
  messaging_client (~> 0.2)
  mini_magick
  mysql2 (= 0.4.10)
  nokogiri (= 1.9.1)
  omniauth (= 1.4.2)
  omniauth-hubspot!
  omniauth-mailchimp
  omniauth-notion
  padma-assets (= 0.3.20)
  pg
  protected_attributes
  rack-cache (= 1.7.1)
  rack-cors
  rails (= 4.2.11.3)
  rails_refactor
  rake (< 12)
  redcarpet
  responders (~> 2.0)
  rinku
  rspec-its
  rspec-rails
  sanitize
  sass-rails (~> 5.0.0)
  select2-rails (~> 4.0.0)
  shoulda
  shoulda-kept-assign-to
  spreadsheet
  sprockets (= 3.0.0)
  stripe (~> 4.24)
  subcontractor (= 0.6.1)
  test-unit
  therubyracer
  uglifier (~> 3.2)
  unicorn
  unicorn-worker-killer
  web-console (~> 2.0)
  yard (~> 0.8.3)
  yard-restful

RUBY VERSION
   ruby 2.2.6p396

BUNDLED WITH
   1.17.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions