[Rails] Re: Ruby on Rails and Postgres - Installing postgresql gem

2010-01-11 Thread Phillip Koebbe
On Jan 10, 3:55 pm, Rodrigo Dellacqua rgoyta...@gmail.com 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

Re: [Rails] Re: Ruby on Rails and Postgres - Installing postgresql gem

2010-01-11 Thread Rodrigo Dellacqua
Hey there, Thanks for all the answers so far, it seems that there are 3 gems currently working, pg, postgres, ruby-pg. But I can't get it to build, does anyone knows which libs I need to have installed? or where to check that? I currently have postgres-8.4-dev []s Rodrigo Dellacqua On Sun,

[Rails] Re: Ruby on Rails and Postgres - Installing postgresql gem

2010-01-11 Thread Peter
This is generally confusing but here's what I think you should do: 1) Remove postgres and ruby-pg gems if they are installed; the correct, current one is pg which should be at version 0.8.0 (assuming you're on linux, this all might change on windows). 2) The library packages you're missing is most

[Rails] Re: Ruby on Rails and Postgres - Installing postgresql gem

2010-01-11 Thread LaughingNinja
Hi, Rodrigo: What's your error? What environment are you running under? We have it working fine with a PostgreSQL dbase.I believe the gem is: pg(0.8.0). Thanks, Gary. On Jan 10, 1:55 pm, Rodrigo Dellacqua rgoyta...@gmail.com wrote: Hey there, I'm trying to get started with RoR with

Re: [Rails] Re: Ruby on Rails and Postgres - Installing postgresql gem

2010-01-11 Thread Curtis Schofield
Hey Rodrigo and All. I'm on OS X and it's not easy to get going out of the box - IIRC i usually have an issue with a postgres gem when I use ports. I'm looking into it now. What platform are you working on Rodrigo? On Mon, Jan 11, 2010 at 11:15 AM, LaughingNinja glacker...@wetdesign.comwrote:

Re: [Rails] Re: Ruby on Rails and Postgres - Installing postgresql gem

2010-01-11 Thread Rodrigo Dellacqua
Hey guys, thanks for all the help on this. k lets divide to conquer. My Environment: Ubuntu 9.10 Ruby1.9.1 Postgres 8.4 I have build-essential, libpq-dev and all that already installed. The error was preventing me from installing the postgres or ruby-pg gems. Now that you mentioned, I had

[Rails] Re: Ruby on Rails and Postgres - Installing postgresql gem

2010-01-10 Thread Marnen Laibow-Koser
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

Re: [Rails] Re: Ruby on Rails and Postgres - Installing postgresql gem

2010-01-10 Thread Rodrigo Dellacqua
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)

[Rails] Re: Ruby on Rails and Postgres - Installing postgresql gem

2010-01-10 Thread adrianb
On Jan 11, 5:55 am, Rodrigo Dellacqua rgoyta...@gmail.com 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

Re: [Rails] Re: Ruby on Rails and Postgres - Installing postgresql gem

2010-01-10 Thread Rodrigo Dellacqua
It seems that I'm lacking some dev libraries that Im not aware of. Anyone knows? []'s Rodrigo Dellacqua On Mon, Jan 11, 2010 at 1:35 AM, adrianb adrian.b...@gmail.com wrote: On Jan 11, 5:55 am, Rodrigo Dellacqua rgoyta...@gmail.com wrote: Hey there, I'm trying to get started with RoR

[Rails] Re: Ruby on Rails and Postgres - Installing postgresql gem

2010-01-10 Thread adrianb
On Jan 11, 12:13 pm, Rodrigo Dellacqua rgoyta...@gmail.com wrote: It seems that I'm lacking some dev libraries that Im not aware of. Anyone knows? Perhaps the development packages for postgresql? -- You received this message because you are subscribed to the Google Groups Ruby on Rails: