On Thu, Mar 1, 2012 at 3:35 PM, ReynierPM <[email protected]> wrote: > Ok, I try again with this line and see the results: > > [root@ruby-devserver ~]# gem install pg > --with-pg-include=/usr/pgsql-9.1/include/ > --with-pg-config=/var/lib/pgsql/9.1/data/ > > ERROR: While executing gem ... (OptionParser::InvalidOption) > invalid option: --with-pg-include=/usr/pgsql-9.1/include/
This time you left off the additional '--' after `gem install pg` - you had it in there the time before. It tells gem the following flags are for the specific gem you're installing, not for the gem command itself. -- Hassan Schroeder ------------------------ [email protected] http://about.me/hassanschroeder twitter: @hassan -- 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.

