On Thu, Mar 1, 2012 at 3:35 PM, ReynierPM <reynierpm@gmail.com> 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 ------------------------ hassan.schroeder@gmail.com
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment