Skip to content

Instantly share code, notes, and snippets.

High-maintenance maintainer

Claudia Pellegrino claui

High-maintenance maintainer
View GitHub Profile
claui /
Last active Sep 2, 2022
How to install Jonathan Levin’s jtool2 on macOS 11.0 (Apple Silicon)
# Copy and paste the following snippet, including brackets, into the Terminal
set -e;
cd "$(mktemp -d)"
curl -LO ''
tar -x -f jtool2.tgz
lipo jtool2 -thin x86_64 -output jtool2.x86_64
lipo disarm -thin x86_64 -output disarm.x86_64
sudo mkdir -p /usr/local/bin
claui / airmail_beta_migrate
Created May 9, 2019
Migrate Airmail Beta data to Airmail 3
View airmail_beta_migrate
set -eu;
echo >&2 'Quitting Airmail 3'
osascript -e 'tell app "Airmail 3" to quit'
echo >&2 'Quitting Airmail Beta'
osascript -e 'tell app "Airmail Beta" to quit'
echo >&2 'Asserting that Airmail Beta data is available'

Keybase proof

I hereby claim:

  • I am claui on github.
  • I am claudi ( on keybase.
  • I have a public key ASDIMlkjQa0MVxXN1uF2VuocWhTp3IAo-bnwjVRtuU6SPwo

To claim this, I am signing this object:

claui /
Last active Oct 6, 2020
Fixing `bundle install` on macOS if it fails with `cannot load such file -- rubygems/format (LoadError)`

Fixing bundle install on macOS if it fails with cannot load such file -- rubygems/format (LoadError)

On macOS, chances are that bundle install … fails with the following error:

/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- rubygems/format (LoadError)
       /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
       /Library/Ruby/Gems/2.0.0/gems/bundler-1.2.3/lib/bundler/source.rb:5:in `<top (required)>'
       /Library/Ruby/Gems/2.0.0/gems/bundler-1.2.3/lib/bundler/dsl.rb:21:in `initialize'
 /Library/Ruby/Gems/2.0.0/gems/bundler-1.2.3/lib/bundler/dsl.rb:6:in `new'