bundlerを使ってnative extensionを含むGemをインストールする場合に、
オプションの指定が必要な場合は ~/.bundle/config などを使いますが、
例えば Mac 環境で do_postgres をbundle installするには、以下のように
設定します。
pre>>
BUNDLE_BUILD__DO_POSTGRES:
--with-opt-dir=/Library/PostgreSQL/9.0
--with-opt-include=/Library/PostgreSQL/9.0/include/postgresql/server
<<--
posted by
genki on Wed 20 Jul 2011 at 19:07 with 0 comments