Learnings
New Learning
About The App
Hire Me
Writing Samples
Edit Learning
Title
Body
Context: My PR checks failed with errors related to `rubocop` not being found and `bin/importmap` command not existing. Resolution: * I uncommented the `rubocop-rails-omakase` gem in the `Gemfile` (group `:development, :test`) to include RuboCop in the bundle for the CI environment. * I corrected the importmap audit command in `.github/workflows/ci.yml` from `bin/importmap audit` to the standard Rails command `bin/rails importmap:audit`. Learning: I learned that CI environments install dependencies based strictly on `Gemfile.lock`. I need to ensure all required gems (especially for linting/testing steps) are included in the correct groups. I also learned to double-check the exact commands used in CI workflows against standard Rails commands or existing binstubs.
Learned on (YYYY-MM-DD)
Tags
Add comma-separated tags. They help filter learnings later.
Back to Learnings