Ensure <Control>Z only sends `fg` when appropriate.
Add install script for common Ruby gems.