I've got 2 Ruby versions: 1.8.7 and 1.9.2 and PostgreSQL 8.3. I cant install pg gem on any of them. Getting this error: C:/Development/Ruby187/bin/ruby.exe extconf.rb checking for pg_config... yes not recorded checking for libpq-fe.h... no Can't find the 'libpq-fe.h header *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. C
Windows でも Ruby を使う必要がでてきた。しかも PostgreSQLとセットで。 環境は Windows7 Home (32bit) 。Windows ローカルで動いている PostgreSQL (8.4) に Ruby 1.9.2 からアクセスできればよい。ただ...やり取りするデータ量が多いので libpq が使う必要がある。libpq のラッパーモジュール pg (ruby-pg) があるが、C 拡張なのでインストールは案の定つまずいた。しかし使い慣れない Windows にどうにか入れることができたのでここにメモしておく。 Windows用の Ruby はRubyInstallerのバイナリ(RubyInstaller 1.9.2-p136)を利用。あわせて同じサイトで配布している DevKit も入れる。これに migw32-gcc や make などが入っていて拡
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く