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

Specify more as the PAGER #4753

Merged
merged 1 commit into from
Apr 29, 2024
Merged

Specify more as the PAGER #4753

merged 1 commit into from
Apr 29, 2024

Conversation

tonyheadford
Copy link
Contributor

Context

Recent changes (maybe Rails 7.1) have resulted in issues with paging in the rails console. The output is paged but not syntax coloured and multi-page output history is lost once the pager is exited.
If we specify more as the pager, sanity is restored.

Changes proposed in this pull request

Set the shell history "helper" with the environment var PAGER=more before invoking the rails console

Guidance to review

Copy link

Review app deployed to https://cpd-ecf-review-4753-web.test.teacherservices.cloud

@tonyheadford tonyheadford requested a deployment to review April 29, 2024 18:34 — with GitHub Actions Abandoned
@tonyheadford tonyheadford requested a deployment to review April 29, 2024 18:45 — with GitHub Actions Abandoned
@tonyheadford tonyheadford added this pull request to the merge queue Apr 29, 2024
Merged via the queue into main with commit 90e1b8b Apr 29, 2024
37 checks passed
@tonyheadford tonyheadford deleted the set_pager_for_console branch April 29, 2024 20:09
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

Successfully merging this pull request may close these issues.

2 participants