Monday, May 16, 2011

Installing pg on Ubuntu with rvm

Reinstalled pg (ruby-pg) on Ubuntu since I am now using rvm (Ruby Version Manager).
$ rvm use 1.9.2
Using /home/socrateos/.rvm/gems/ruby-1.9.2-p180
$ gem install pg
Building native extensions.  This could take a while...
Successfully installed pg-0.11.0
1 gem installed
Installing ri documentation for pg-0.11.0...
Installing RDoc documentation for pg-0.11.0...
$ irb
ruby-1.9.2-p180 :001 > require 'pg'
 => true 
ruby-1.9.2-p180 :002 > exit

No comments:

Post a Comment