Skip to content

Instantly share code, notes, and snippets.

@giljr
Created October 19, 2025 15:05
Show Gist options
  • Select an option

  • Save giljr/189c3e85544ffaa8a1f96328dfea646b to your computer and use it in GitHub Desktop.

Select an option

Save giljr/189c3e85544ffaa8a1f96328dfea646b to your computer and use it in GitHub Desktop.
How to regenerate all binstubs at once
Command Purpose
bundle binstubs --all Generate binstubs for all gems
bundle binstubs rspec-core Generate binstub only for RSpec
bundle exec spring binstub rails rspec Add Spring preload hooks
bin/spring stop Restart Spring after changes
bin/rspec Run tests fast in the correct environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment