Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `Async' for #<Slack::RealTime::Concurrency::Async::Socket #377

Closed
matiasmenares opened this issue May 15, 2021 · 2 comments
Labels

Comments

@matiasmenares
Copy link

matiasmenares commented May 15, 2021

Hi guys i have this issue I read another post but i have (i think) the correct version of async-websocket

image

GEMFILE.lock

GEM
  remote: https://rubygems.org/
  specs:
    aasm (4.12.3)
      concurrent-ruby (~> 1.0)
    actioncable (5.0.6)
      actionpack (= 5.0.6)
      nio4r (>= 1.2, < 3.0)
      websocket-driver (~> 0.7.3)
    actionmailer (5.0.6)
      actionpack (= 5.0.6)
      actionview (= 5.0.6)
      activejob (= 5.0.6)
      mail (~> 2.5, >= 2.5.4)
      rails-dom-testing (~> 2.0)
    actionpack (5.0.6)
      actionview (= 5.0.6)
      activesupport (= 5.0.6)
      rack (~> 2.0)
      rack-test (~> 0.6.3)
      rails-dom-testing (~> 2.0)
      rails-html-sanitizer (~> 1.0, >= 1.0.2)
    actionview (5.0.6)
      activesupport (= 5.0.6)
      builder (~> 3.1)
      erubis (~> 2.7.0)
      rails-dom-testing (~> 2.0)
      rails-html-sanitizer (~> 1.0, >= 1.0.3)
    activejob (5.0.6)
      activesupport (= 5.0.6)
      globalid (>= 0.3.6)
    activemodel (5.0.6)
      activesupport (= 5.0.6)
    activerecord (5.0.6)
      activemodel (= 5.0.6)
      activesupport (= 5.0.6)
      arel (~> 7.0)
    activesupport (5.0.6)
      concurrent-ruby (~> 1.0, >= 1.0.2)
      i18n (~> 0.7)
      minitest (~> 5.1)
      tzinfo (~> 1.1)
    acts_as_list (0.9.10)
      activerecord (>= 3.0)
    airbrussh (1.3.0)
      sshkit (>= 1.6.1, != 1.7.0)
    arel (7.1.4)
    ast (2.4.1)
    async (1.6.0)
      nio4r (~> 2.0)
      timers (~> 4.1)
    async-io (1.17.2)
      async (~> 1.3)
    async-websocket (0.8.0)
      async-io
      websocket-driver (~> 0.7.0)
    autoprefixer-rails (7.2.5)
      execjs
    aws-sdk (2.11.5)
      aws-sdk-resources (= 2.11.5)
    aws-sdk-core (2.11.5)
      aws-sigv4 (~> 1.0)
      jmespath (~> 1.0)
    aws-sdk-resources (2.11.5)
      aws-sdk-core (= 2.11.5)
    aws-sigv4 (1.0.2)
    bcrypt (3.1.11)
    bindex (0.5.0)
    bootstrap-sass (3.3.7)
      autoprefixer-rails (>= 5.2.1)
      sass (>= 3.3.4)
    breadcrumbs_on_rails (3.0.1)
    builder (3.2.3)
    cancancan (2.1.3)
    capistrano (3.10.1)
      airbrussh (>= 1.0.0)
      i18n
      rake (>= 10.0.0)
      sshkit (>= 1.9.0)
    capistrano-bundler (1.1.4)
      capistrano (~> 3.1)
      sshkit (~> 1.2)
    capistrano-rails (1.3.1)
      capistrano (~> 3.1)
      capistrano-bundler (~> 1.1)
    capistrano-rvm (0.1.2)
      capistrano (~> 3.0)
      sshkit (~> 1.2)
    chartkick (3.4.1)
    chronic (0.10.2)
    ckeditor (4.3.0)
      orm_adapter (~> 0.5.0)
      terrapin
    climate_control (0.2.0)
    cocaine (0.5.8)
      climate_control (>= 0.0.3, < 1.0)
    coderay (1.1.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)
    colorize (0.8.1)
    concurrent-ruby (1.0.5)
    config (1.6.1)
      activesupport (>= 3.0)
      deep_merge (~> 1.1.1)
      dry-validation (>= 0.10.4)
    connection_pool (2.2.1)
    crass (1.0.3)
    deep_merge (1.1.1)
    devise (4.4.1)
      bcrypt (~> 3.0)
      orm_adapter (~> 0.1)
      railties (>= 4.1.0, < 5.2)
      responders
      warden (~> 1.2.3)
    devise_token_auth (1.1.5)
      bcrypt (~> 3.0)
      devise (> 3.5.2, < 5)
      rails (>= 4.2.0, < 6.2)
    dotenv (2.7.6)
    dry-configurable (0.7.0)
      concurrent-ruby (~> 1.0)
    dry-container (0.6.0)
      concurrent-ruby (~> 1.0)
      dry-configurable (~> 0.1, >= 0.1.3)
    dry-core (0.4.2)
      concurrent-ruby (~> 1.0)
    dry-equalizer (0.2.0)
    dry-logic (0.4.2)
      dry-container (~> 0.2, >= 0.2.6)
      dry-core (~> 0.2)
      dry-equalizer (~> 0.2)
    dry-types (0.12.2)
      concurrent-ruby (~> 1.0)
      dry-configurable (~> 0.1)
      dry-container (~> 0.3)
      dry-core (~> 0.2, >= 0.2.1)
      dry-equalizer (~> 0.2)
      dry-logic (~> 0.4, >= 0.4.2)
      inflecto (~> 0.0.0, >= 0.0.2)
    dry-validation (0.11.1)
      concurrent-ruby (~> 1.0)
      dry-configurable (~> 0.1, >= 0.1.3)
      dry-core (~> 0.2, >= 0.2.1)
      dry-equalizer (~> 0.2)
      dry-logic (~> 0.4, >= 0.4.0)
      dry-types (~> 0.12.0)
    erubis (2.7.0)
    execjs (2.7.0)
    faker (1.8.7)
      i18n (>= 0.7)
    faraday (1.0.1)
      multipart-post (>= 1.2, < 3)
    faraday_middleware (1.0.0)
      faraday (~> 1.0)
    ffi (1.9.22)
    gli (2.20.0)
    globalid (0.4.1)
      activesupport (>= 4.2.0)
    gon (6.2.0)
      actionpack (>= 3.0)
      multi_json
      request_store (>= 1.0)
    groupdate (5.2.1)
      activesupport (>= 5)
    hashie (4.1.0)
    httparty (0.15.6)
      multi_xml (>= 0.5.2)
    i18n (0.9.5)
      concurrent-ruby (~> 1.0)
    inflecto (0.0.2)
    jbuilder (2.7.0)
      activesupport (>= 4.2.0)
      multi_json (>= 1.2)
    jmespath (1.3.1)
    jquery-rails (4.3.1)
      rails-dom-testing (>= 1, < 3)
      railties (>= 4.2.0)
      thor (>= 0.14, < 2.0)
    jquery-ui-rails (6.0.1)
      railties (>= 3.2.16)
    libv8 (3.16.14.19)
    listen (3.0.8)
      rb-fsevent (~> 0.9, >= 0.9.4)
      rb-inotify (~> 0.9, >= 0.9.7)
    loofah (2.2.0)
      crass (~> 1.0.2)
      nokogiri (>= 1.5.9)
    mail (2.7.0)
      mini_mime (>= 0.1.1)
    method_source (0.9.0)
    mime-types (3.1)
      mime-types-data (~> 3.2015)
    mime-types-data (3.2016.0521)
    mimemagic (0.3.2)
    mini_mime (1.0.0)
    mini_portile2 (2.3.0)
    minitest (5.11.3)
    multi_json (1.13.1)
    multi_xml (0.6.0)
    multipart-post (2.1.1)
    mysql2 (0.4.10)
    net-scp (1.2.1)
      net-ssh (>= 2.6.5)
    net-ssh (4.2.0)
    nio4r (2.2.0)
    nokogiri (1.8.2)
      mini_portile2 (~> 2.3.0)
    orm_adapter (0.5.0)
    paperclip (5.2.1)
      activemodel (>= 4.2.0)
      activesupport (>= 4.2.0)
      cocaine (~> 0.5.5)
      mime-types
      mimemagic (~> 0.3.0)
    parallel (1.19.2)
    parser (2.7.1.4)
      ast (~> 2.4.1)
    pry (0.11.3)
      coderay (~> 1.1.0)
      method_source (~> 0.9.0)
    pry-rails (0.3.6)
      pry (>= 0.10.4)
    puma (3.11.2)
    rack (2.0.4)
    rack-protection (2.0.0)
      rack
    rack-test (0.6.3)
      rack (>= 1.0)
    rails (5.0.6)
      actioncable (= 5.0.6)
      actionmailer (= 5.0.6)
      actionpack (= 5.0.6)
      actionview (= 5.0.6)
      activejob (= 5.0.6)
      activemodel (= 5.0.6)
      activerecord (= 5.0.6)
      activesupport (= 5.0.6)
      bundler (>= 1.3.0)
      railties (= 5.0.6)
      sprockets-rails (>= 2.0.0)
    rails-dom-testing (2.0.3)
      activesupport (>= 4.2.0)
      nokogiri (>= 1.6)
    rails-html-sanitizer (1.0.3)
      loofah (~> 2.0)
    railties (5.0.6)
      actionpack (= 5.0.6)
      activesupport (= 5.0.6)
      method_source
      rake (>= 0.8.7)
      thor (>= 0.18.1, < 2.0)
    rainbow (3.0.0)
    rake (12.3.0)
    rb-fsevent (0.10.2)
    rb-inotify (0.9.10)
      ffi (>= 0.5.0, < 2)
    rb-readline (0.5.5)
    redis (4.0.1)
    redis-namespace (1.8.1)
      redis (>= 3.0.4)
    ref (2.0.0)
    regexp_parser (1.7.1)
    request_store (1.4.0)
      rack (>= 1.4)
    responders (2.4.0)
      actionpack (>= 4.2.0, < 5.3)
      railties (>= 4.2.0, < 5.3)
    rexml (3.2.4)
    rubocop (0.87.1)
      parallel (~> 1.10)
      parser (>= 2.7.1.1)
      rainbow (>= 2.2.2, < 4.0)
      regexp_parser (>= 1.7)
      rexml
      rubocop-ast (>= 0.1.0, < 1.0)
      ruby-progressbar (~> 1.7)
      unicode-display_width (>= 1.4.0, < 2.0)
    rubocop-ast (0.1.0)
      parser (>= 2.7.0.1)
    rubocop-checkstyle_formatter (0.4.0)
      rubocop (>= 0.35.1)
    ruby-progressbar (1.10.1)
    sass (3.5.5)
      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)
    sentry-raven (3.0.0)
      faraday (>= 1.0)
    sidekiq (5.1.1)
      concurrent-ruby (~> 1.0)
      connection_pool (~> 2.2, >= 2.2.0)
      rack-protection (>= 1.5.0)
      redis (>= 3.3.5, < 5)
    simple_form (3.5.1)
      actionpack (> 4, < 5.2)
      activemodel (> 4, < 5.2)
    slack-notifier (2.3.2)
    slack-ruby-client (0.17.0)
      faraday (>= 1.0)
      faraday_middleware
      gli
      hashie
      websocket-driver
    spring (2.0.2)
      activesupport (>= 4.2)
    spring-watcher-listen (2.0.1)
      listen (>= 2.7, < 4.0)
      spring (>= 1.2, < 3.0)
    sprockets (3.7.1)
      concurrent-ruby (~> 1.0)
      rack (> 1, < 3)
    sprockets-rails (3.2.1)
      actionpack (>= 4.0)
      activesupport (>= 4.0)
      sprockets (>= 3.0.0)
    sshkit (1.16.0)
      net-scp (>= 1.1.2)
      net-ssh (>= 2.8.0)
    terrapin (0.6.0)
      climate_control (>= 0.0.3, < 1.0)
    therubyracer (0.12.3)
      libv8 (~> 3.16.14.15)
      ref
    thor (0.20.0)
    thread_safe (0.3.6)
    tilt (2.0.8)
    timers (4.3.3)
    turbolinks (5.1.0)
      turbolinks-source (~> 5.1)
    turbolinks-source (5.1.0)
    tzinfo (1.2.5)
      thread_safe (~> 0.1)
    uglifier (4.1.6)
      execjs (>= 0.3.0, < 3)
    unicode-display_width (1.7.0)
    warden (1.2.7)
      rack (>= 1.0)
    web-console (3.5.1)
      actionview (>= 5.0)
      activemodel (>= 5.0)
      bindex (>= 0.4.0)
      railties (>= 5.0)
    websocket-driver (0.7.3)
      websocket-extensions (>= 0.1.0)
    websocket-extensions (0.1.3)
    whenever (1.0.0)
      chronic (>= 0.6.3)
    wicked_pdf (1.1.0)
    will_paginate (3.1.6)
    wkhtmltopdf-binary (0.12.3.1)

PLATFORMS
  ruby

DEPENDENCIES
  aasm
  acts_as_list
  async-websocket (~> 0.8.0)
  aws-sdk (~> 2)
  bootstrap-sass
  breadcrumbs_on_rails
  cancancan
  capistrano
  capistrano-bundler (~> 1.1.4)
  capistrano-rails
  capistrano-rvm
  chartkick
  ckeditor (~> 4.2, >= 4.2.4)
  coffee-rails (~> 4.2)
  colorize
  config
  devise (~> 4.2)
  devise_token_auth
  dotenv
  faker
  gon
  groupdate
  httparty
  jbuilder (~> 2.5)
  jquery-rails
  jquery-ui-rails
  listen (~> 3.0.5)
  mysql2 (>= 0.3.18, < 0.5)
  paperclip
  pry-rails
  puma (~> 3.0)
  rails (~> 5.0.6)
  rb-readline
  redis-namespace
  rubocop
  rubocop-checkstyle_formatter
  sass-rails (~> 5.0)
  sentry-raven
  sidekiq
  simple_form
  slack-notifier
  slack-ruby-client (~> 0.17.0)
  spring
  spring-watcher-listen (~> 2.0.0)
  therubyracer
  turbolinks (~> 5)
  tzinfo-data
  uglifier (>= 1.3.0)
  web-console (>= 3.3.0)
  whenever
  wicked_pdf
  will_paginate (~> 3.0, >= 3.0.7)
  wkhtmltopdf-binary

BUNDLED WITH
   1.17.3

GEMFILE

source 'https://rubygems.org'

git_source(:github) do |repo_name|
  repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
  "https://github.com/#{repo_name}.git"
end

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.0.6'
# Use mysql as the database for Active Record
gem 'mysql2', '>= 0.3.18', '< 0.5'
# Use Puma as the app server
gem 'puma', '~> 3.0'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.2'
# See https://github.com/rails/execjs#readme for more supported runtimes
gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
gem 'jquery-ui-rails'
gem 'acts_as_list'
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
gem 'turbolinks', '~> 5'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.5'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 3.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
gem 'whenever', require: false
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development

gem "sentry-raven"

#added by Apptec
gem "chartkick"
gem 'groupdate'

#Devise
gem 'devise', '~> 4.2'
#breadcrums gem
gem 'breadcrumbs_on_rails'
#Font Awesome
#gem 'font-awesome-sass', '~> 4.7.0'
#Paginación
gem 'will_paginate', '~> 3.0', '>= 3.0.7'
#AASM Gema de estados
gem 'aasm'
#Gestión Archivos
gem 'paperclip'
gem 'aws-sdk', '~> 2'

#PDF
gem 'wicked_pdf'
gem 'wkhtmltopdf-binary'
#Gestión de Permisos
gem 'cancancan'
#Bootstrap
#Variables de Rails en JS
gem 'gon'
#Configuraciones
gem 'config'
#REST
gem 'httparty'
gem 'colorize'
gem 'config'
gem 'slack-notifier' #Slack
gem 'sidekiq'
gem 'simple_form'
gem 'faker'
gem 'bootstrap-sass'
# CKEditor
gem 'ckeditor', '~> 4.2', '>= 4.2.4'
#SideKiq
gem 'sidekiq'
gem 'redis-namespace'
gem 'devise_token_auth'
gem 'dotenv'
gem 'slack-ruby-client', '~> 0.16.0'
gem 'async-websocket', '~>0.8.0'

group :development do
  # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
  gem 'web-console', '>= 3.3.0'
  gem 'listen', '~> 3.0.5'
  # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
  gem 'spring'
  gem 'spring-watcher-listen', '~> 2.0.0'
  gem 'pry-rails'
  gem 'rb-readline'

  gem 'capistrano'
  gem 'capistrano-rails'
  gem 'capistrano-rvm'
  gem 'capistrano-bundler', '~> 1.1.4'
  gem 'rubocop'
  gem 'rubocop-checkstyle_formatter', require: false
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
@dblock dblock added the bug? label May 16, 2021
@dblock
Copy link
Collaborator

dblock commented May 16, 2021

This was #272, and indeed the problem was the version. Here your Gemfile.lock does show the correct one. I'd make sure that's what's actually loaded, otherwise 🤷 , need to see a project that fails in this way to debug.

@dblock
Copy link
Collaborator

dblock commented May 14, 2022

Dup, closing. #272

@dblock dblock closed this as completed May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants