WindowsでRMagickをbundle install

基本的なオプションの書き方はgemのときと同じですが、bundle install コマンドでは--with-opt-libなりincludeなりを指定することができません。
bundle configコマンドを使って、パッケージ単位の個別のビルド設定を保存します。

set IMPATH="c:\Program Files\ImageMagick-6.9.1-Q16"
bundle config build.rmagick --with-opt-include=\"%IMPATH%\include\" --with-opt-lib=\"%IMPATH%\"
bundle install --path=vendor/bundle

参考: bundle config | Bundler日本語ドキュメント | Ruby STUDIO