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

Failed to generate a fresh Rails app following README instruction #3493

Open
pandabamboo90 opened this issue Mar 7, 2021 · 5 comments
Open

Comments

@pandabamboo90
Copy link

This command doesn't work as I had rails 6 installed on my PC

# README
rails new app_name -m https://www.refinerycms.com/t/4.0.0

Instead we should install rails version 5.1.x and generate new app with the Rails 5 version

gem install rails -v 5.1.7
rails _5.1.7_ new app_name -m https://www.refinerycms.com/t/4.0.0
@parndt
Copy link
Member

parndt commented Jul 8, 2021

Thanks for posting this 😄 I'll leave it open for a bit until Rails 6 works as expected

@rubydesign
Copy link

Situation is worsening it seems.
Installation with 5.2.6 does not work due to
refinerycms-authentication-devise (~> 2.0) was resolved to 2.0.0, which depends on actionmailer (>= 5.0.0, < 5.2)

and rails 6.1.4.1 has zeitgeist loading failures
(due to the no-doc situation on that i used git version for cms and auth)

rails 5.1 came out 2017 and was last updated in 2019, so can't really be a start of a new app anymore

@parndt
Copy link
Member

parndt commented Dec 8, 2021

For Zeitwerk loading failures can you try this PR #3465 ?

@rubydesign
Copy link

Ok, so i cloned the repo, merged that branch (ruby 3.0.3 rails 6.1.4)
did rails new with the template, which off course fails at bundling
added local repo for cms and pointed auth to github
Then removed bootsnap from Gemfile and config/boot
then it started but did not show any refinery stuff

Docs don't mention about the migration, but i went and did rails install xx migrations and migrated.
Started, but still no refinery stuff visible (routes, pages..). It feels like the config is not complete.

At this point i feel like i am debugging blind, so i am bailing.
I would come back to try once you have a working, tried, system that i can verify.

@parndt
Copy link
Member

parndt commented Dec 9, 2021

Thanks @rubydesign - that is helpful 😄

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