Skip to content

Rails 8 #573

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

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

Rails 8 #573

wants to merge 12 commits into from

Conversation

eoinkelly
Copy link
Contributor

@eoinkelly eoinkelly commented Nov 21, 2024

Eoin's PR description

This is mostly there. Just needs some tidy-up once we make decisions about the outstanding issues tagged with Rails 8

Copilot's PR description

This pull request includes several changes to the CI configuration, template application, and documentation to improve compatibility and maintainability. The most important changes include modifications to the CI workflow file, updates to the template application process, and adjustments to the documentation to reflect new options.

CI Workflow Updates:

Template Application Enhancements:

  • template.rb: Added terminal output statements to indicate the start and end of significant blocks during the template application process. [1] [2] [3]
  • template.rb: Corrected the file name for the ERB lint configuration and updated the linting command.

Documentation Updates:

  • README.md: Updated example commands to include new skip options (--skip-kamal and --skip-solid). [1] [2]

Dependency and Configuration Adjustments:

These changes aim to streamline the CI process, enhance the clarity of the template application, and ensure the documentation is up-to-date with the latest options and configurations.

@eoinkelly eoinkelly added WIP Work in progress Rails 8 labels Nov 21, 2024
@eoinkelly eoinkelly changed the title Rails 8 [very WIP] Rails 8 Nov 23, 2024
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
gem "sprockets-rails"
# The modern asset pipeline for Rails [https://github.com/rails/propshaft]
gem "propshaft"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo: Verify we still need propshaft given we use shakapacker.

"ActiveSupport::Logger.new(STDOUT)",
"ActiveSupport::Logger.new($stdout)"

# TODO: https://github.com/ackama/rails-template/issues/569
insert_into_file "config/environments/production.rb",
after: /.*config\.public_file_server\.enabled.*\n/ do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue: I don't see how this can match, because the Rails 8 config does not include this anymore by default

https://github.com/ackama/rails-template-variants-comparison/blob/main/config/environments/production.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rails 8 WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants