I tried postgres, ruby-pg etc.. all give me this error.

Building native extensions.  This could take a while...
ERROR:  Error installing postgres:
    ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9.1 extconf.rb
extconf.rb:4:in `<main>': uninitialized constant PLATFORM (NameError)


Gem files will remain installed in
/var/lib/gems/1.9.1/gems/postgres-0.7.9.2008.01.28 for inspection.
Results logged to
/var/lib/gems/1.9.1/gems/postgres-0.7.9.2008.01.28/ext/gem_make.out

What do I need to have installed so they build properly?

[]'s
Rodrigo Dellacqua

On Sun, Jan 10, 2010 at 11:09 PM, Marnen Laibow-Koser
<[email protected]>wrote:

> Rodrigo Dellacqua wrote:
> > Hey there,
> >
> > I'm trying to get started with RoR with Postgresql.
> >
> > I've been trying to find some information on it, but there's a lot of
> > really
> > OLD info on that subject!
> >
> > What should I do to get my application working with Postgresql?
> >
> > I get an error while trying to install the gem.
>
> Which gem (there are several)?  What error?
>
> >
> > After reading i thought many info about alot of different gems.
> >
> > Which one is the right one?
>
> I believe I'm using the postgres gem, though I'll verify that when I'm
> not posting from my iPhone. :)  Others have reported success with
> postgres-pr (pure ruby) or pg.
>
> Search the list archives for more, or perhaps there's information at
> Robby on Rails, since he uses Postgres.
>
> >
> > []'s
> > Rodrigo Dellacqua
>
> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> [email protected]
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
>
>
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to