On Fri, 18 Mar 2005, ANDRES VALENCIANO MONTERO wrote:
> Hi all
>
> I am trying Ror for the first time and I need to test it to a Postgres
> db, but the "gem install postgres" is failing with a:
> ERROR: Error installing gem postgres[.gem]: ERROR: Failed to build gem
> native extension.
>
> Any idea about the problem? I have just arrived to Ruby-land and
can''t
> find any hint about this problem.
>
> Thanks for your help
you may have done it anyhow, does this work for you?
[ahoward@localhost ~]$ ruby -rrubygems
-e''p(require_gem("postgres"))''
true
[ahoward@localhost ~]$ find /usr/local/lib/ruby/gems/ -name
''*postgres.so*''
/usr/local/lib/ruby/gems/1.8/gems/postgres-0.7.1/postgres.so
if so you are fine. i also saw this error and, i think, it was caused by a bad
return code in the postgres install script... i didn''t invetigate
though
because it actually did work.
if it really didn''t work it''s almost certainly beause you
don''t have the
postgres-devel (headers) on your system or have not told gem where they are.
cheers.
-a
--
==============================================================================|
EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE :: 303.497.6469
| When you do something, you should burn yourself completely, like a good
| bonfire, leaving no trace of yourself. --Shunryu Suzuki
===============================================================================