Skip to content

use tac instead of -r option as that option is not available in GNU tail #89

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

Merged

Conversation

ccrockett
Copy link
Contributor

Fixes #88 on linux machines

Note: This file may have already been copied to your rails project if you have already done cypress_on_rails:install. Look in spec/cypress/app_commands/ (default path) for the log_fail.rb file

@grantspeelman
Copy link
Collaborator

grantspeelman commented Aug 24, 2021

Thanks for this.

i might rather comment this line out for now, or maybe look into doing it with ruby instead or some other way of getting the logs of the current test that will work on all Operating Systems.

@ccrockett
Copy link
Contributor Author

agree that a pure ruby approach would be more OS agnostic but just to be clear this fix should make it work for those people running RoR in windows subsystem for linux as well

@grantspeelman grantspeelman merged commit b6a00a7 into shakacode:master Jan 3, 2022
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.

getting tail: invalid option -- 'r' in rails server output while running cypress tests
2 participants