gem environment
gem outdated [options]コマンドを使うとアップデートのあるGemを確認できます。
バージョンを指定してgemをインストール gem install gemの名前 -v バージョン
gem install --local <gem ファイル名>
git clone git://github.com/schacon/showoff.git cd showoff gem build showoff.gemspec gem install showoff-0.7.0.gem
gem outdated アップデートが必要な全てのgemを表示する
まず、削除したいgemの一覧が必要です。--no-versionsをつけるとバージョンが出力されません。
場当たり的でよいのであれば、先の gem install 時のエラーログにもある通り、 --with-opt-lib オプションで明示的に指定してやればよいです
bundle config build.mysql2 --with-opt-lib=/usr/local/opt/openssl/lib --with-opt-include=-I/usr/local/opt/openssl/include