Open1

M3 MacBook Air にRabbitをインストールする(Homebrew)

クドウマサヤクドウマサヤ

RabbitはRuby製のプレゼンテーションツール。
M3 MacBook Airでインストールを試したので手順をメモ。

公式ドキュメント
macOSでHomebrewを使ったインストール方法

Homebrewはインストール済、まずはドキュメント通りに。

sudo gem install rabbit

そうするとこんなエラーで失敗した。

installing 'gobject-introspection' native package... failed
Failed to run 'brew install gobject-introspection'.
*** extconf.rb failed ***

単体で実行。そしてもういちどgem install。

brew install gobject-introspection
sudo gem install rabbit

何度か同じようなエラーで失敗し、最終的には以下のbrew installを追加で行ったところインストールに成功しました。

brew install gobject-introspection
brew install gdk-pixbuf
brew install librsvg
brew install poppler
brew install gtk+3

成功したときのログ

msykd@msykdmba ~ % sudo gem install rabbit
Password:
Building native extensions. This could take a while...
Successfully installed gdk3-4.2.9
Building native extensions. This could take a while...
Successfully installed atk-4.2.9
Building native extensions. This could take a while...
Successfully installed gtk3-4.2.9
Successfully installed text-1.3.1
Successfully installed locale-2.1.4
Successfully installed gettext-3.5.1
Successfully installed coderay-1.1.3
Successfully installed rabbit-3.0.5
Parsing documentation for gdk3-4.2.9
Installing ri documentation for gdk3-4.2.9
Parsing documentation for atk-4.2.9
Installing ri documentation for atk-4.2.9
Parsing documentation for gtk3-4.2.9
Installing ri documentation for gtk3-4.2.9
Parsing documentation for text-1.3.1
Installing ri documentation for text-1.3.1
Parsing documentation for locale-2.1.4
Installing ri documentation for locale-2.1.4
Parsing documentation for gettext-3.5.1
Installing ri documentation for gettext-3.5.1
invalid options: -SNw2
(invalid options are ignored)
Parsing documentation for coderay-1.1.3
Installing ri documentation for coderay-1.1.3
Parsing documentation for rabbit-3.0.5
Installing ri documentation for rabbit-3.0.5
Done installing documentation for gdk3, atk, gtk3, text, locale, gettext, coderay, rabbit after 2 seconds
8 gems installed