ruby-on-railsrubyrubygemslocomotivecms

I can't install gem locomotivecms because of dependencies


As it says in the photo, locomotivecms_steam's latest version needs Ruby < 3 but all the stable versions of Ruby are > 3. How can I installed locomotivecms? I'm using https://doc.locomotivecms.com/docs/quick-start but it's not helping me enter image description here

I'm using the gemfile and bundler install to do it. I also tried with the command

    gem install locomotivecms_wagon
    It was installed but when I type

wagon version

It says is 1.58 but i need 3.0.2 at least and I don't know hot to update it.

This is my gemfile and gemfile.lock
[[enter image description here](https://i.sstatic.net/mmG9V.png)
[enter image description here](https://i.sstatic.net/lL7bm.png)
[enter image description here](https://i.sstatic.net/qlF1o.png)

Solution

  • The simple answer is: You cannot run it with Ruby 3.

    When the locomotivecms gem has a dependency to locomotivecms_steam gem and even the latest version of locomotivecms_steam does not support Ruby 3.0 yet, then you will need to downgrade your Ruby version to 2.7.7.

    There haven't been many releases locomotivecms_steam in the last years, which makes it unlikely that they will fix this dependency problem soon.

    That means your options are:

    In both cases, I suggest looking for alternatives, because depending on a gem that is not actively maintained anymore or that you have to maintain on your own, doesn't sound like a good idea.