You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently setting up new Rails 8 projects and porting my Telegram bots code over (for notifications, etc) and I'm encountering the following error when running bundle in CLI.
Is there anyway to have the gem support newer Rails versions?
Could not find compatible versions
Because telegram-bot < 0.15.2 depends on Ruby ~> 2.0
and telegram-bot >= 0.15.1, < 0.15.6 depends on activesupport >= 4.0, < 6.2,
telegram-bot < 0.15.6 requires Ruby ~> 2.0 or activesupport >= 4.0, < 6.2.
And because telegram-bot >= 0.15.6, < 0.16.0 depends on activesupport >= 4.0, < 7.1
and telegram-bot >= 0.16.0, < 0.16.4 depends on activesupport >= 4.0, < 7.2,
telegram-bot < 0.16.4 requires activesupport >= 4.0, < 7.2 or Ruby ~> 2.0.
Because rails >= 8.0.0.rc1 depends on activesupport = 8.0.0.rc1
and rails >= 8.0.0.beta1, < 8.0.0.rc1 depends on activesupport = 8.0.0.beta1,
rails >= 8.0.0.beta1 requires activesupport = 8.0.0.beta1 OR = 8.0.0.rc1.
(1) Thus, if rails >= 8.0.0.beta1 and telegram-bot < 0.16.4 then Ruby ~> 2.0.
Because rails >= 8.0.0.rc1 depends on activesupport = 8.0.0.rc1
and rails >= 8.0.0.beta1, < 8.0.0.rc1 depends on actionpack = 8.0.0.beta1,
rails >= 8.0.0.beta1 requires activesupport = 8.0.0.rc1 or actionpack = 8.0.0.beta1.
And because telegram-bot >= 0.16.4 depends on actionpack >= 4.0, < 7.3
and telegram-bot >= 0.16.4 depends on activesupport >= 4.0, < 7.3,
rails >= 8.0.0.beta1 is incompatible with telegram-bot >= 0.16.4.
And because if rails >= 8.0.0.beta1 and telegram-bot < 0.16.4 then Ruby ~> 2.0 (1),
rails >= 8.0.0.beta1 requires Ruby ~> 2.0.
So, because Gemfile depends on rails ~> 8.0.0.beta1
and current Ruby version is = 3.2.2,
version solving has failed.
The text was updated successfully, but these errors were encountered:
I'm currently setting up new Rails 8 projects and porting my Telegram bots code over (for notifications, etc) and I'm encountering the following error when running
bundle
in CLI.Is there anyway to have the gem support newer Rails versions?
The text was updated successfully, but these errors were encountered: