-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Cannot Serve Locally After App Creation #3527
Comments
Hi @TrimperAlex It looks like there might be an issue with your database configuration. Here are a few things you can try:
Hopefully one of these steps will help you get your app up and running locally! |
Hi @TrimperAlex The guides are very old and are not updated. I think the issues is due to your used Ruby version. Try to install Ruby 2.6.X and try again. Alternatively, if you want to only test the Refienery and see, how it looks like, you can check http://demo.refinerycms.com . The admin link is Another way is to fork from my repository https://github.com/Matho/refinerycms-example-app - this is exactly the version which is deployed at demo page. If you are familiar with Docker, there is Dockerfile in that repo - https://github.com/Matho/refinerycms-example-app/blob/master/Dockerfile . But by default the Docker is using Note: Running projects on Ruby 2.6.X could be problem on newest operating systems. So Docker with old 2.6.X Ruby is a way, but not recommended. You can try to update to latest Ruby 3.2.1 (at the time of writing this reply) - see comments here #3526 . Main branch of the Refinery project dosnt support 3.X.Y yet |
Thanks @atiqueakhtar, I should've tried any of those things. You're so kind I really appreciate your help. And thank you @Matho , I am starting to use development environments like docker so I will absolutely give that a try. I am using Ruby 3.1.2 so I will try an older version. Thanks again! |
Please, reopen the issue. The problem exists because of breaking change in Psych 4, which comes with Ruby 3.1 and Refinery CMS should adapt its code to it: Upd.: |
It doesn't feel very good when something fails at the very beginning and you can't find the answer anywhere.....
Following along in the setup I believe I have all the correct prerequesites but I can't serve locally after reating the app. Here's what I did:
Create a new app:
refinerycms testrefinery
CD into file:
cd testrefinery
Serve:
rails server
As basic and straightforward as it gets but my terminal says "Nope"
The error is:
So I'm just missing something reallly simple right?
I'm a junior developer just figuring things out, any help would be so appreciated, thank you!
The text was updated successfully, but these errors were encountered: