Ruby on Rails/PostgresSQLを使う http://www.ark-web.jp/sandbox/wiki/5305.html
- PostGISを使わないといけない案件があり、PostgreSQLを使うことに
- 参考: http://wiki.rubyonrails.org/database-support/postgres
- 以下インストールの流れ
vi config/environment.rb //config.gem "pg" を追加 rake gems:unpack:dependencies rake gems:build vi config/database.yml
- database.ymlの中身はこんな感じ
development: adapter: postgresql database: xxx_development username: xxx password: xxx host: localhost encoding: utf8 template: template0
tag: Ruby on Rails
![[PukiWiki] [PukiWiki]](image/sandbox.gif)



