I\'m trying to install PostgreSQL\'s pg gem for Ruby. I issued the following command: gem install pg I installed Ruby 1.9.2 using RVM.
1.首先创建students表 CREATE TABLE students ( id integer NOT NULL, name character varying(255), sex character varying(255),