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

Rails 7 support #3533

Open
VetheonGames opened this issue Nov 1, 2023 · 4 comments
Open

Rails 7 support #3533

VetheonGames opened this issue Nov 1, 2023 · 4 comments

Comments

@VetheonGames
Copy link

Is Rails 7 support planned or maybe in some kind of Beta?

I have a existing Rails webapp built with Rails 7, and I would really really like to use RefineryCMS with it, however, you're just completely unable to install RefineryCMS alongside Rails 7 by following the instructions in the docs.

Is it just completely incompatible? Am I doomed to wait for the update to Rails 7? Would love some insight

@anitagraham
Copy link
Contributor

I am doing some work on Rails7 but the scope is potentially quite big. (

I can try and create a new app, with plain refinery using all the current ways of doing things, so I know where those basic problems are.

@chmich
Copy link

chmich commented Dec 28, 2023

Hi, i tried to integrate refinery into a rails-7 app, but it seems there are issues on every edge:

  • Rails-7.1.2
  • devise 4.9.3

gem 'refinerycms', '~> 4.0', '>= 4.0.3'

$ bundle install =>

Could not find compatible versions

Because refinerycms >= 4.0.3 depends on refinerycms-core = 4.0.3
  and refinerycms-core >= 4.0.0 depends on railties >= 5.1.0, < 5.2,
  refinerycms >= 4.0.3 requires railties >= 5.1.0, < 5.2.
And because rails >= 7.1.2 depends on railties = 7.1.2,
  refinerycms >= 4.0.3 is incompatible with rails >= 7.1.2.
So, because Gemfile depends on rails ~> 7.1.2
  and Gemfile depends on refinerycms >= 4.0.3, < 5.A,
  version solving has failed.

It wants railties 5x, but i have 7.1.2

Then i am removing the Version: gem 'refinerycms'

$ bundle install #=>

This installes me refinerycms (0.9.7.15)!!

This seems that the distance to rails-7 is too big.

It seems that the Statement on the refinery homepage «Supports latest versions of Rails» is very old!

@anitagraham
Copy link
Contributor

I am using my local fork of Refinery which is not in a PR-able state.

It uses friendly_id-mobility', '~> 1.0.3',
and a fork of refinerycms-i18n, which uses 'mobility', '~> 1.2.9'

I am about to run the tests for this version of -i18n.
I'll try to find the most minimally changed version of Refinery which will accomodate Rails7 and Ruby 3.

@Azzawie
Copy link

Azzawie commented Sep 18, 2024

Do you have any update on this issue?

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

4 participants