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

chore: fix gh ci for rpsec #71

Merged

Conversation

ssa-wtag
Copy link
Contributor

@ssa-wtag ssa-wtag commented Nov 18, 2024

Locally the spec passed, because we have Rails env there. But in a gem running in CI, this rails env is missing- that's why it was failing.

@ssa-wtag ssa-wtag force-pushed the Fix-GH-Pipeline-for-Rspec branch from cf942c3 to f17a682 Compare November 18, 2024 10:17
@ssa-wtag ssa-wtag force-pushed the Fix-GH-Pipeline-for-Rspec branch from ac33156 to e5c65af Compare November 18, 2024 10:18
if defined?(Rails)
@original_rails = Rails
Object.send(:remove_const, :Rails)
end
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this change is not needed, since it was introduced in part of railtie spec.

@gernotkogler gernotkogler merged commit 0f94f13 into gernotkogler:master Nov 18, 2024
3 checks passed
@gernotkogler
Copy link
Owner

gernotkogler commented Nov 18, 2024

Thanks for fixing it, @ssa-wtag 🙂

@ssa-wtag ssa-wtag deleted the Fix-GH-Pipeline-for-Rspec branch November 18, 2024 10:51
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