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

Incompatible with anycable < 1.1.0 and anycable-rail < 1.1.0 #1

Open
dmitry-goncharuk opened this issue Jan 26, 2022 · 3 comments
Open

Comments

@dmitry-goncharuk
Copy link

dmitry-goncharuk commented Jan 26, 2022

anycable and anycabe-rails gems version below 1.1 do not have anycable-core as its dependencies. This causes errors, when adding yabeda-anycabl to a project with those gems installed.

This is caused because of a few things:

It is most likely to be common for Rails projects below version 6, as anycable-rails 1.1 can not be added to Rails <6 projects.

I guess it should be at least, mentioned in the Readme.

@Envek
Copy link
Member

Envek commented Jan 26, 2022

Middleware interface introduced in AnyCable 1.1 is absolutely essential for this gem to work.

So the only way to get it working in Rails before 6 is to convince @palkan to add support for Rails < 6 to anycable-rails 1.1.x 😜

@palkan
Copy link

palkan commented Jan 26, 2022

anycable-rails 1.1.x supports Rails 5; see also anycable/anycable-rails#164

@dmitry-goncharuk
Copy link
Author

@Envek I totally get it. Issue is that you can install yabeda-anycable along with anycable-rails 1.0.x, which leads to an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants