diff --git a/package.json b/package.json
index 38323d925..0460aa4f0 100644
--- a/package.json
+++ b/package.json
@@ -212,6 +212,7 @@
   },
   "lint-staged": {
     "*": "prettier --ignore-unknown --write",
+    "Capfile|Gemfile|*.{rb,ruby,ru,rake}": "bundle exec rubocop -a",
     "*.{js,jsx,ts,tsx}": "eslint --fix",
     "*.{css,scss}": "stylelint --fix"
   }