インスタント Rails
インストール
InstantRails.exeの起動
PostgreSQL用にパスを設定
-
use_ruby.cmd
CD C:\InstantRails PATH C:\InstantRails\ruby\bin;C:\InstantRails\mysql\bin;\ C:\Program Files\PostgreSQL\8.2\bin;\ C:\Program Files\PostgreSQL\8.2\lib;%PATH% cd rails_apps
Rubyコンソールを起動
PostgreSQL用Railsライブラリを導入
-
検索
C:\InstantRails\rails_apps>gem search postgres --remote *** REMOTE GEMS *** postgres (0.7.1) The extension library to access a PostgreSQL database from Ruby. postgres-pr (0.4.0, 0.3.6, 0.3.5, 0.3.4, 0.3.3, 0.3.2, 0.3.1, 0.3.0, 0.2.2, 0.2.1, 0.2.0, 0.1.1, 0.1.0, 0.0.1) A pure Ruby interface to the PostgreSQL (>= 7.4) database ruby-postgres (0.7.1.2006.04.06, 0.7.1.2006.04.05, 0.7.1.2005.12.21, 0.7.1.2005.12.20, 0.7.1.2005.12.19, 0.7.1.2005.11.27, 0.7.1.2005.11.26, 0.7.1.2005.11.24, 0.7.1.2005.11.23) Ruby extension library providing an API to PostgreSQL
-
インストール
gem install ruby-postgres --remote gem install postgres-pr --remote
-
リスト
C:\InstantRails\rails_apps>gem list postgres *** LOCAL GEMS *** postgres-pr (0.4.0) A pure Ruby interface to the PostgreSQL (>= 7.4) database ruby-postgres (0.7.1.2006.04.06) Ruby extension library providing an API to PostgreSQL