<class:RunnerClient>': superclass mismatch for class IncompleteMessageError (TypeError)
Hi, I'm encountering this error during the boot-up process of the Rails LSP server. I am running Ruby 3.1.2, and environment spec are:
RUBY_VERSION=ruby-3.1.2
.ruby-lsp/Gemfile
# This custom gemfile is automatically generated by the Ruby LSP.
# It should be automatically git ignored, but in any case: do not commit it to your repository.
eval_gemfile(File.expand_path("../Gemfile", __dir__))
gem "ruby-lsp", require: false, group: :development
gem "debug", require: false, group: : development, platforms: :mri
gem "ruby-lsp-rails", require: false, group: :development
Ruby Client: Vscode extension: Ruby LSP v0.7.14
Gemfile.lock
GIT
remote: https://github.com/alno/irwi.git
revision: 2abd0f2b034c8137c829775f270106429be1d252
specs:
irwi (0.5.0)
actionpack (>= 4.0)
activerecord (>= 4.0)
activesupport (>= 4.0)
diff-lcs (>= 1.1.2)
rails_autolink (>= 1.0)
GIT
remote: https://github.com/brandnewbox/georuby-ext.git
revision: 31044f352823d3851d4d77cc59cc18ad6d8b88b3
specs:
georuby-ext (0.0.5)
activesupport (>= 3.2.6)
dbf
dr-ffi-proj4 (>= 0.0.3)
ffi-geos (>= 0.1.1)
geokit (= 1.6.7)
georuby (>= 1.9.8)
rgeo (>= 0.3.20)
GIT
remote: https://github.com/brandnewbox/two_factor_authentication
revision: 55ea43455dfd0cdc97740395a80d282af9934a5f
branch: master
specs:
two_factor_authentication (2.2.0)
devise
encryptor
rails (>= 3.1.1)
randexp
rotp (>= 4.0.0)
GIT
remote: https://github.com/prawnpdf/prawn-table.git
revision: 38b5bdb5dd95237646675c968091706f57a7a641
branch: master
specs:
prawn-table (0.2.3)
prawn (>= 1.3.0, < 3.0.0)
GIT
remote: https://github.com/rails-api/active_model_serializers.git
revision: b1b253f5a8deff98d8aea935fb12c5996cdbf8f5
branch: 0-9-stable
specs:
active_model_serializers (0.9.7)
activemodel (>= 3.2)
concurrent-ruby (~> 1.0)
GIT
remote: https://github.com/rails-on-services/apartment.git
revision: 7d626d1fd53259da7c193a1710495b384cad6481
branch: development
specs:
ros-apartment (2.11.0)
activerecord (>= 5.0.0, < 7.1)
parallel (< 2.0)
public_suffix (>= 2.0.5, < 5.0)
rack (>= 1.3.6, < 3.0)
GEM
remote: https://rubygems.org/
specs:
aasm (5.2.0)
concurrent-ruby (~> 1.0)
actioncable (7.0.8.1)
actionpack (= 7.0.8.1)
activesupport (= 7.0.8.1)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (7.0.8.1)
actionpack (= 7.0.8.1)
activejob (= 7.0.8.1)
activerecord (= 7.0.8.1)
activestorage (= 7.0.8.1)
activesupport (= 7.0.8.1)
mail (>= 2.7.1)
net-imap
net-pop
net-smtp
actionmailer (7.0.8.1)
actionpack (= 7.0.8.1)
actionview (= 7.0.8.1)
activejob (= 7.0.8.1)
activesupport (= 7.0.8.1)
mail (~> 2.5, >= 2.5.4)
net-imap
net-pop
net-smtp
rails-dom-testing (~> 2.0)
actionpack (7.0.8.1)
actionview (= 7.0.8.1)
activesupport (= 7.0.8.1)
rack (~> 2.0, >= 2.2.4)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (7.0.8.1)
actionpack (= 7.0.8.1)
activerecord (= 7.0.8.1)
activestorage (= 7.0.8.1)
activesupport (= 7.0.8.1)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (7.0.8.1)
activesupport (= 7.0.8.1)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
active_hash (3.2.1)
activesupport (>= 5.0.0)
activejob (7.0.8.1)
activesupport (= 7.0.8.1)
globalid (>= 0.3.6)
activemodel (7.0.8.1)
activesupport (= 7.0.8.1)
activerecord (7.0.8.1)
activemodel (= 7.0.8.1)
activesupport (= 7.0.8.1)
activerecord-import (1.5.1)
activerecord (>= 4.2)
activestorage (7.0.8.1)
actionpack (= 7.0.8.1)
activejob (= 7.0.8.1)
activerecord (= 7.0.8.1)
activesupport (= 7.0.8.1)
marcel (~> 1.0)
mini_mime (>= 1.1.0)
activesupport (7.0.8.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
acts-as-taggable-on (10.0.0)
activerecord (>= 6.1, < 7.2)
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
aes_key_wrap (1.1.0)
airbrussh (1.4.0)
sshkit (>= 1.6.1, != 1.7.0)
annotate (3.2.0)
activerecord (>= 3.2, < 8.0)
rake (>= 10.4, < 14.0)
api-auth (2.5.1)
ast (2.4.2)
attr_required (1.0.1)
awesome_nested_set (3.6.0)
activerecord (>= 4.0.0, < 7.2)
awesome_print (1.8.0)
aws-eventstream (1.3.0)
aws-partitions (1.872.0)
aws-sdk-core (3.190.1)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.8)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.75.0)
aws-sdk-core (~> 3, >= 3.188.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.141.0)
aws-sdk-core (~> 3, >= 3.189.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.8)
aws-sigv4 (1.8.0)
aws-eventstream (~> 1, >= 1.0.2)
base64 (0.2.0)
bcrypt (3.1.20)
better_errors (2.8.1)
coderay (>= 1.0.0)
erubi (>= 1.0.0)
rack (>= 0.9.0)
bindata (2.5.0)
bindex (0.8.1)
bluecloth (2.2.0)
bootsnap (1.17.0)
msgpack (~> 1.2)
bootstrap-will_paginate (1.0.0)
will_paginate
bootstrap_forms (4.0.1)
builder (3.2.4)
bullet (7.0.0)
activesupport (>= 3.0.0)
uniform_notifier (~> 1.11)
byebug (10.0.2)
cancancan (3.2.1)
choice (0.2.0)
chroma (0.2.0)
cocoon (1.2.15)
coderay (1.1.3)
combine_pdf (1.0.22)
matrix
ruby-rc4 (>= 0.1.5)
concurrent-ruby (1.2.3)
coverband (5.1.0)
redis
crass (1.0.6)
daemons (1.3.1)
dalli (2.7.10)
date (3.3.4)
dbf (4.2.4)
debug (1.9.2)
irb (~> 1.10)
reline (>= 0.3.8)
delayed_cron_job (0.7.3)
delayed_job (>= 4.1)
delayed_job (4.1.11)
activesupport (>= 3.0, < 8.0)
delayed_job_active_record (4.1.8)
activerecord (>= 3.0, < 8.0)
delayed_job (>= 3.0, < 5)
dentaku (3.5.2)
concurrent-ruby
devise (4.9.3)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0)
responders
warden (~> 1.2.3)
devise-security (0.18.0)
devise (>= 4.3.0)
devise-uncommon_password (0.4.5)
devise (>= 3.5, < 5.0)
rails (>= 4.2, < 7.2)
diff-lcs (1.5.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
dr-ffi-proj4 (0.0.3)
ffi (>= 1.0.0)
elasticsearch (7.17.10)
elasticsearch-api (= 7.17.10)
elasticsearch-transport (= 7.17.10)
elasticsearch-api (7.17.10)
multi_json
elasticsearch-transport (7.17.10)
faraday (>= 1, < 3)
multi_json
encryptor (3.0.0)
erubi (1.12.0)
excon (0.78.0)
factory_bot (6.4.2)
activesupport (>= 5.0.0)
factory_bot_rails (6.4.2)
factory_bot (~> 6.4)
railties (>= 5.0.0)
faker (2.15.1)
i18n (>= 1.6, < 2)
faraday (2.8.1)
base64
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-follow_redirects (0.3.0)
faraday (>= 1, < 3)
faraday-httpclient (2.0.1)
httpclient (>= 2.2)
faraday-net_http (3.0.2)
ffi (1.12.2)
ffi-compiler (1.0.1)
ffi (>= 1.0.0)
rake
ffi-geos (2.4.0)
ffi (>= 1.0.0)
flatpickr (4.6.6.0)
flipper (1.1.2)
concurrent-ruby (< 2)
flipper-active_record (1.1.2)
activerecord (>= 4.2, < 8)
flipper (~> 1.1.2)
flipper-ui (1.1.2)
erubi (>= 1.0.0, < 2.0.0)
flipper (~> 1.1.2)
rack (>= 1.4, < 4)
rack-protection (>= 1.5.3, <= 4.0.0)
sanitize (< 7)
fog-aws (0.1.1)
fog-core (~> 1.27)
fog-json (~> 1.0)
fog-xml (~> 0.1)
ipaddress (~> 0.8)
fog-core (1.29.0)
builder
excon (~> 0.38)
formatador (~> 0.2)
mime-types
net-scp (~> 1.1)
net-ssh (>= 2.1.3)
fog-json (1.0.0)
multi_json (~> 1.0)
fog-xml (0.1.1)
fog-core
nokogiri (~> 1.5, >= 1.5.11)
formatador (0.2.5)
geocoder (1.6.3)
geokit (1.6.7)
multi_json (>= 1.3.2)
georuby (2.5.2)
globalid (1.2.1)
activesupport (>= 6.1)
graphiql-rails (1.9.0)
railties
sprockets-rails
graphql (1.11.6)
groupdate (5.2.4)
activesupport (>= 5)
haml (6.3.0)
temple (>= 0.8.2)
thor
tilt
haml-rails (2.1.0)
actionpack (>= 5.1)
activesupport (>= 5.1)
haml (>= 4.0.6)
railties (>= 5.1)
hashie (5.0.0)
http (5.0.4)
addressable (~> 2.8)
http-cookie (~> 1.0)
http-form_data (~> 2.2)
llhttp-ffi (~> 0.4.0)
http-accept (1.7.0)
http-cookie (1.0.4)
domain_name (~> 0.5)
http-form_data (2.3.0)
httparty (0.21.0)
mini_mime (>= 1.0.0)
multi_xml (>= 0.5.2)
httpclient (2.8.3)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
icalendar (2.7.1)
ice_cube (~> 0.16)
ice_cube (0.16.4)
image_processing (1.12.2)
mini_magick (>= 4.9.5, < 5)
ruby-vips (>= 2.0.17, < 3)
io-console (0.7.2)
ipaddress (0.8.0)
irb (1.14.1)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
jaro_winkler (1.5.4)
jbuilder (2.10.1)
activesupport (>= 5.0.0)
jmespath (1.6.2)
json (2.7.1)
json-jwt (1.15.3.1)
activesupport (>= 4.2)
aes_key_wrap
bindata
httpclient
kramdown (2.4.0)
rexml
language_server-protocol (3.17.0.3)
launchy (2.4.3)
addressable (~> 2.3)
letter_opener (1.7.0)
launchy (~> 2.2)
lint_roller (1.1.0)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
llhttp-ffi (0.4.0)
ffi-compiler (~> 1.0)
rake (~> 13.0)
logger (1.6.1)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
mail (2.8.1)
mini_mime (>= 0.1.1)
net-imap
net-pop
net-smtp
marcel (1.0.4)
matrix (0.4.2)
memory_profiler (0.9.12)
method_source (1.0.0)
mime-types (3.3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2020.1104)
mini_magick (4.10.1)
mini_mime (1.1.5)
minitest (5.22.3)
msgpack (1.3.3)
multi_json (1.15.0)
multi_xml (0.6.0)
mysql2 (0.5.5)
n1_loader (1.7.4)
net-http (0.4.0)
uri
net-imap (0.4.10)
date
net-protocol
net-pop (0.1.2)
net-protocol
net-protocol (0.2.2)
timeout
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-smtp (0.4.0.1)
net-protocol
net-ssh (6.1.0)
netrc (0.11.0)
nio4r (2.7.1)
nokogiri (1.16.3-x86_64-linux)
racc (~> 1.4)
noticed (1.5.5)
http (>= 4.0.0)
rails (>= 5.2.0)
oidc_provider (0.5.0)
openid_connect (~> 1.1.3)
rails (>= 5.0)
openid_connect (1.1.8)
activemodel
attr_required (>= 1.0.0)
json-jwt (>= 1.5.0)
rack-oauth2 (>= 1.6.1)
swd (>= 1.0.0)
tzinfo
validate_email
validate_url
webfinger (>= 1.0.1)
order_as_specified (1.6)
activerecord (>= 5.0.0)
orm_adapter (0.5.0)
overcast (0.0.1)
paper_trail (14.0.0)
activerecord (>= 6.0)
request_store (~> 1.4)
parallel (1.24.0)
paranoid2 (1.1.5)
activerecord (>= 4.1.0)
parser (3.3.5.0)
ast (~> 2.4.1)
racc
pavement_condition_index (1.0.6)
pdf-core (0.6.1)
phantomjs (2.1.1.0)
prawn (2.0.2)
pdf-core (~> 0.6.0)
ttfunk (~> 1.4.0)
prism (1.2.0)
pry (0.13.1)
coderay (~> 1.1)
method_source (~> 1.0)
pry-rails (0.3.9)
pry (>= 0.10.4)
psych (5.2.0)
stringio
public_suffix (4.0.7)
puma (6.4.2)
nio4r (~> 2.0)
racc (1.7.3)
rack (2.2.9)
rack-mini-profiler (3.0.0)
rack (>= 1.2.0)
rack-oauth2 (1.6.1)
activesupport (>= 2.3)
attr_required (>= 0.0.5)
httpclient (>= 2.4)
multi_json (>= 1.3.6)
rack (>= 1.1)
rack-protection (3.1.0)
rack (~> 2.2, >= 2.2.4)
rack-test (2.1.0)
rack (>= 1.3)
railroady (1.5.3)
rails (7.0.8.1)
actioncable (= 7.0.8.1)
actionmailbox (= 7.0.8.1)
actionmailer (= 7.0.8.1)
actionpack (= 7.0.8.1)
actiontext (= 7.0.8.1)
actionview (= 7.0.8.1)
activejob (= 7.0.8.1)
activemodel (= 7.0.8.1)
activerecord (= 7.0.8.1)
activestorage (= 7.0.8.1)
activesupport (= 7.0.8.1)
bundler (>= 1.15.0)
railties (= 7.0.8.1)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
actionview (>= 5.0.1.rc1)
activesupport (>= 5.0.1.rc1)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-erd (1.6.0)
activerecord (>= 4.2)
activesupport (>= 4.2)
choice (~> 0.2.0)
ruby-graphviz (~> 1.2)
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
rails-route-checker (0.3.0)
rails_autolink (1.1.6)
rails (> 3.1)
railties (7.0.8.1)
actionpack (= 7.0.8.1)
activesupport (= 7.0.8.1)
method_source
rake (>= 12.2)
thor (~> 1.0)
zeitwerk (~> 2.5)
rainbow (3.1.1)
rake (13.1.0)
randexp (0.1.7)
ransack (4.1.1)
activerecord (>= 6.1.5)
activesupport (>= 6.1.5)
i18n
raygun-apm (1.1.14-x86_64-linux)
raygun-apm-rails (1.1.5)
raygun-apm (~> 1.1.11)
raygun4ruby (3.2.6)
concurrent-ruby
httparty (> 0.13.7)
json
rack
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rbs (3.6.1)
logger
rdoc (6.7.0)
psych (>= 4.0.0)
recipient_interceptor (0.1.2)
mail
redis (4.2.5)
regexp_parser (2.9.2)
reline (0.5.11)
io-console (~> 0.5)
render_async (2.1.7)
request_store (1.5.1)
rack (>= 1.4)
responders (3.1.1)
actionpack (>= 5.2)
railties (>= 5.2)
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rexml (3.2.6)
rgeo (2.1.1)
rollups (0.1.4)
activesupport (>= 5.1)
groupdate (>= 5.2)
roo (2.8.3)
nokogiri (~> 1)
rubyzip (>= 1.3.0, < 3.0.0)
rotp (6.3.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-rails (5.1.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
railties (>= 5.2)
rspec-core (~> 3.10)
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.12.1)
rspec_junit_formatter (0.4.1)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (1.65.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.4, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
rubocop-performance (1.21.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-graphviz (1.2.4)
ruby-lsp (0.21.3)
language_server-protocol (~> 3.17.0)
prism (>= 1.2, < 2.0)
rbs (>= 3, < 4)
sorbet-runtime (>= 0.5.10782)
ruby-lsp-rails (0.3.26)
ruby-lsp (>= 0.21.2, < 0.22.0)
ruby-progressbar (1.13.0)
ruby-rc4 (0.1.5)
ruby-vips (2.1.4)
ffi (~> 1.12)
ruby2_keywords (0.0.5)
rubyzip (1.3.0)
sanitize (6.1.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
sass-rails (6.0.0)
sassc-rails (~> 2.1, >= 2.1.1)
sassc (2.4.0)
ffi (~> 1.9)
sassc-rails (2.1.2)
railties (>= 4.0.0)
sassc (>= 2.0)
sprockets (> 3.0)
sprockets-rails
tilt
searchkick (5.3.1)
activemodel (>= 6.1)
hashie
shoulda-matchers (3.1.3)
activesupport (>= 4.0.0)
shp (0.1.0)
simple_form (5.3.0)
actionpack (>= 5.2)
activemodel (>= 5.2)
slack-notifier (2.3.2)
sorbet-runtime (0.5.11647)
spring (2.0.2)
activesupport (>= 4.2)
spring-commands-rspec (1.0.4)
spring (>= 0.9.1)
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
sprockets-rails (3.4.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
sprockets (>= 3.0.0)
sshkit (1.21.0)
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
stackprof (0.2.23)
standard (1.40.0)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.65.0)
standard-custom (~> 1.0.0)
standard-performance (~> 1.4)
standard-custom (1.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.50)
standard-performance (1.4.0)
lint_roller (~> 1.1)
rubocop-performance (~> 1.21.0)
stringio (3.1.2)
swd (2.0.3)
activesupport (>= 3)
attr_required (>= 0.0.5)
faraday (~> 2.0)
faraday-follow_redirects
temple (0.10.3)
thor (1.3.0)
tilt (2.3.0)
time_difference (0.6.0.pre.activesupport42)
activesupport
timeout (0.4.1)
traceroute (0.8.1)
rails (>= 3.0.0)
ttfunk (1.4.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.8)
unicode-display_width (2.5.0)
uniform_notifier (1.14.2)
uri (0.10.0.3)
validate_email (0.1.6)
activemodel (>= 3.0)
mail (>= 2.2.5)
validate_url (1.0.15)
activemodel (>= 3.0.0)
public_suffix
view_component (2.83.0)
activesupport (>= 5.2.0, < 8.0)
concurrent-ruby (~> 1.0)
method_source (~> 1.0)
warden (1.2.9)
rack (>= 2.0.9)
web-console (4.2.1)
actionview (>= 6.0.0)
activemodel (>= 6.0.0)
bindex (>= 0.4.0)
railties (>= 6.0.0)
webfinger (2.1.3)
activesupport
faraday (~> 2.0)
faraday-follow_redirects
websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
will_paginate (3.3.0)
write_xlsx (0.85.9)
rubyzip (>= 1.0.0)
zip-zip
writeexcel (1.0.5)
xmlrpc (0.3.0)
zeitwerk (2.6.13)
zip-zip (0.3)
rubyzip (>= 1.0.0)
PLATFORMS
x86_64-linux
DEPENDENCIES
aasm
active_hash (~> 3.0)
active_model_serializers!
activerecord-import
acts-as-taggable-on
airbrussh
annotate
api-auth
awesome_nested_set
awesome_print (~> 1.8)
aws-sdk-s3
better_errors
bluecloth (~> 2.2)
bootsnap
bootstrap-will_paginate
bootstrap_forms
bullet
byebug
cancancan (~> 3.2, >= 3.2.1)
chroma (~> 0.2.0)
cocoon
combine_pdf
coverband (~> 5.1)
daemons
dalli
dbf
debug
delayed_cron_job (~> 0.7.2)
delayed_job_active_record
dentaku
devise
devise-security
devise-uncommon_password
elasticsearch (~> 7.0)
factory_bot_rails (~> 6.0)
faker (= 2.15.1)
faraday-httpclient
ffi (= 1.12.2)
flatpickr
flipper
flipper-active_record
flipper-ui
fog-aws
geocoder
georuby
georuby-ext!
graphiql-rails
graphql (~> 1.11)
haml
haml-rails
icalendar
image_processing (>= 1.2)
irb
irwi!
jaro_winkler (~> 1.5.1)
jbuilder
json-jwt (= 1.15.3.1)
kramdown
letter_opener
listen
memory_profiler
mini_magick (~> 4.8)
mysql2
n1_loader
net-http
net-ssh (~> 6.1)
noticed (~> 1.5.5)
oidc_provider (= 0.5.0)
order_as_specified (~> 1.3)
overcast
paper_trail
paranoid2
pavement_condition_index (= 1.0.6)
phantomjs
prawn (~> 2.0.0)
prawn-table!
pry-rails
puma
rack-mini-profiler
rack-oauth2 (= 1.6.1)
railroady
rails (= 7.0.8.1)
rails-controller-testing
rails-erd (~> 1.5, >= 1.5.2)
rails-route-checker
ransack
raygun-apm-rails
raygun4ruby
recipient_interceptor
redis (~> 4.2, >= 4.2.5)
render_async (~> 2.1, >= 2.1.4)
rest-client
rollups
roo
ros-apartment!
rspec-rails
rspec_junit_formatter
ruby-lsp
ruby-lsp-rails
rubyzip (~> 1.2, >= 1.2.1)
sass-rails
searchkick
shoulda-matchers (~> 3.1)
shp
simple_form
slack-notifier
spring
spring-commands-rspec
stackprof
standard (~> 1.40)
thor
time_difference (~> 0.6.0.pre.activesupport42)
traceroute
two_factor_authentication!
uri (= 0.10.0.3)
view_component (~> 2.83.0)
web-console (~> 4.0)
will_paginate
write_xlsx (~> 0.85.7)
writeexcel
xmlrpc (~> 0.3.0)
BUNDLED WITH
2.3.27
Error:
Thank you for the bug report! Something is quite odd here. The issue seems to be that we're requiring more than one version of the Rails add-on. If you check the output, we printed that we were activating version v0.3.25, but the backtrace is pointing to v0.3.18 - which is most certainly where the superclass mismatch error is coming from.
Can you please share these to help us diagnose?
- What version manager are you using?
- Do you have any Ruby LSP related settings in the editor?
Also, I see that you're on an old version of the VS Code extension. Can you please upgrade to the latest and let us know if the problem persists?
Hi Vinicius,
Thanks for your help. I’m using rvm as my version manager, and here is the snippet for the rubylsp configuration from my settings.json:
"rubyLsp.enabledFeatures": {
"codeActions": true,
"diagnostics": true,
"documentHighlights": true,
"documentLink": true,
"documentSymbols": true,
"foldingRanges": true,
"formatting": true,
"hover": true,
"inlayHint": true,
"onTypeFormatting": true,
"selectionRanges": true,
"semanticHighlighting": true,
"completion": true,
"codeLens": true,
"definition": true,
"workspaceSymbol": true,
"signatureHelp": true
},
"rubyLsp.featuresConfiguration": {
},
"rubyLsp.linters": [],
"rubyLsp.rubyVersionManager": {
"identifier": "rvm"
},
Also, I believe I have the latest extension installed from the https://open-vsx.org
@.***
Thanks! Kayvon
From: Vinicius Stock @.> Sent: Monday, November 18, 2024 1:57 PM To: Shopify/ruby-lsp-rails @.> Cc: Kayvon Shahir @.>; Author @.> Subject: Re: [Shopify/ruby-lsp-rails] class:RunnerClient': superclass mismatch for class IncompleteMessageError (TypeError) (Issue #524)
CAUTION: External Email. Proceed Responsibly.
Thank you for the bug report! Something is quite odd here. The issue seems to be that we're requiring more than one version of the Rails add-on. If you check the output, we printed that we were activating version v0.3.25, but the backtrace is pointing to v0.3.18 - which is most certainly where the superclass mismatch error is coming from.
Can you please share these to help us diagnose?
- What version manager are you using?
- Do you have any Ruby LSP related settings in the editor?
Also, I see that you're on an old version of the VS Code extension. Can you please upgrade to the latest and let us know if the problem persists?
— Reply to this email directly, view it on GitHubhttps://github.com/Shopify/ruby-lsp-rails/issues/524#issuecomment-2484214934, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFRA7QCEZUNJJO64SC3NHEL2BJPD3AVCNFSM6AAAAABRUTSBISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBUGIYTIOJTGQ. You are receiving this because you authored the thread.Message ID: @.@.>>
We print the activated Ruby environment to the Output tab under the Ruby LSP channel. Can you please check if the activated environment includes BUNDLE_GEMFILE by any chance?
We've seen this type of issues before and it's typically because something is setting BUNDLE_GEMFILE and making the Ruby LSP skip its composed bundle logic, which then doesn't setup Bundler properly and results in requiring the wrong add-on versions. We need to understand what is causing it for your setup.
I was able to find this snippet in the log in regard to the Bundle file:
@.***
Here is also from the log showing some output in regards to ruby-lsp-rails initialization:
@.***
From: Vinicius Stock @.> Sent: Tuesday, November 19, 2024 11:36 AM To: Shopify/ruby-lsp-rails @.> Cc: Kayvon Shahir @.>; Author @.> Subject: Re: [Shopify/ruby-lsp-rails] class:RunnerClient': superclass mismatch for class IncompleteMessageError (TypeError) (Issue #524)
CAUTION: External Email. Proceed Responsibly.
We print the activated Ruby environment to the Output tab under the Ruby LSP channel. Can you please check if the activated environment includes BUNDLE_GEMFILE by any chance?
We've seen this type of issues before and it's typically because something is setting BUNDLE_GEMFILE and making the Ruby LSP skip its composed bundle logic, which then doesn't setup Bundler properly and results in requiring the wrong add-on versions. We need to understand what is causing it for your setup.
— Reply to this email directly, view it on GitHubhttps://github.com/Shopify/ruby-lsp-rails/issues/524#issuecomment-2486588413, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFRA7QGRU636BT7B5WHVOVT2BOHLRAVCNFSM6AAAAABRUTSBISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBWGU4DQNBRGM. You are receiving this because you authored the thread.Message ID: @.@.>>
I believe this issue is related to BUNDLE_GEMFILE being set externally by something else, which messes up our bundle composition.
We are experimenting with a new approach that should fix this (no longer depends on BUNDLE_GEMFILE directly). If you enable the new mode, does the problem go away?
{
// Enable the launcher mode feature flag
"rubyLsp.featureFlags": {
"launcher": true
},
}
I believe this was an issue with how project add-ons were being loaded. Please do let us know if you see the problem again.