Back to articles
rails-local-ci: Essential Local CI for Older Rails Apps
NewsTools

rails-local-ci: Essential Local CI for Older Rails Apps

via Dev.toMohamed Magdy Omar

Rails 8.1 shipped a genuinely useful feature: a standardized bin/ci script backed by ActiveSupport::ContinuousIntegration . Run your full test suite, linter, and security checks locally before pushing. No cloud bill. No waiting in a CI queue. Just your laptop doing what it was built for. The catch? I'm on Rails 7. And I use Bitbucket, not GitHub. So bin/ci wasn't available to me yet. And Basecamp's gh-signoff — the companion tool that posts a green commit status to your host after local CI passes — only works with GitHub. Bitbucket users don't get a version of that either. I built both myself. This post explains what each tool does, how they connect, and why the upgrade path for rails-local-ci is the whole point of the project. TL;DR: rails-local-ci brings Rails 8.1's bin/ci workflow to Rails 5.2–7.x. bb-signoff posts green commit statuses to Bitbucket after local tests pass. Use them together for a full local CI -> signoff -> merge workflow. Remove the gem when you hit Rails 8.1 — not

Continue reading on Dev.to

Opens in a new tab

Read Full Article
6 views

Related Articles