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 Server Error With New Install #3497

Closed
TruePath opened this issue May 15, 2021 · 3 comments
Closed

Rails Server Error With New Install #3497

TruePath opened this issue May 15, 2021 · 3 comments

Comments

@TruePath
Copy link

After running refinerycms proj_name and changing to the directory (installing 4.0.3) if I try to run bin/rails server I get the following error:

=> Booting Puma
=> Rails 5.1.7 application starting in development
=> Run rails server -h for more startup options
Exiting
/opt/local/lib/ruby3.0/gems/3.0.0/gems/actionpack-5.1.7/lib/action_dispatch/middleware/static.rb:109:in `initialize': wrong number of arguments (given 3, expected 2) (ArgumentError)

Hope this helps and maybe there is a workaround currently since that makes it very hard to get started with development.

@parndt
Copy link
Member

parndt commented Jul 8, 2021

Ah, I don't think we have done any work to support Ruby 3.0 yet. Does this work on Ruby 2.7.x?

@TruePath
Copy link
Author

TruePath commented Jul 8, 2021

Haven't tried that. Unfortunately, my current setup doesn't make that easy so go ahead and close the thread since that's likely the answer. Thanks for letting me know!

@parndt
Copy link
Member

parndt commented Jul 8, 2021

Thanks for the amazingly fast reply @TruePath ! Also I see that it's basically the same as #3488 so at least we can track it there.

One day more things will work with it and I'll get to use Ruby 3.0 😂

@parndt parndt closed this as completed Jul 8, 2021
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

2 participants