I’ve always liked Homebrew’s bundle command. You can save a snapshot of everything you’ve installed with Homebrew, and then reinstall the snapshot on a new system.
I also like Ruby’s Bundler, which lets you save all of the gems needed by an application and then install them easily with bundle install
.
However, I don’t like installing Ruby gems with Homebrew, mostly because brew-gem isn’t up-to-date and barely functions these days. I install all of my gems with just gem install
.
Because of this, binaries that are installed by gems aren’t included when I do a brew bundle install
. And Ruby’s bundler is project-specific. So I wrote a script that will save a snapshot of every gem that has a binary installed on your system, and then do a gem install
on all of them when setting up a new system.
I gave it a decent README, so if this is of interest, go check it out. If you use any of my tools like howzit
or na
, you’ve probably installed those with gem install
and they won’t be included if you try to restore using Homebrew (or dot files, etc.). So do yourself a favor and create a snapshot!
Please share issues and suggestions using the Issues section of the script’s GitHub home.