K
Kenneth Tilton
Complete Ruby noob, here. I want to go after postgres from Ruby on
Windows to support a Ruby team. After a lot of googling trying to figure
out how to get the ruby-pg gem loaded I finally noticed the Gem Package
Manager application in the Ruby programs menu tree. Yeah!
In the package manager I executed "gem install pg" and saw it installed
successfully. Yeah!!
"gem list --local" now shows PG. Yeah!!!
Running the fxri console,
require 'rake' ==> true Yeah!!!!
require 'pg'
==>
LoadError: 126: The specified module could not be found. -
C:/Ruby/lib/ruby/gems/1.8/gems/pg-0.8.0-x86-mswin32-60/lib/pg.so
from C:/Ruby/lib/ruby/gems/1.8/gems/pg-0.8.0-x86-mswin32-60/lib/pg.so
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from (irb):6
from :0
OK, here I am stumped. It seems to be finding pg OK, but is otherwise
unhappy... any hints are welcome.
kenny
Windows to support a Ruby team. After a lot of googling trying to figure
out how to get the ruby-pg gem loaded I finally noticed the Gem Package
Manager application in the Ruby programs menu tree. Yeah!
In the package manager I executed "gem install pg" and saw it installed
successfully. Yeah!!
"gem list --local" now shows PG. Yeah!!!
Running the fxri console,
require 'rake' ==> true Yeah!!!!
require 'pg'
==>
LoadError: 126: The specified module could not be found. -
C:/Ruby/lib/ruby/gems/1.8/gems/pg-0.8.0-x86-mswin32-60/lib/pg.so
from C:/Ruby/lib/ruby/gems/1.8/gems/pg-0.8.0-x86-mswin32-60/lib/pg.so
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from (irb):6
from :0
OK, here I am stumped. It seems to be finding pg OK, but is otherwise
unhappy... any hints are welcome.
kenny