[ruby-it] [Ubuntu] Problema installazione gemma Postgres

Andrea Dallera andrea a andreadallera.com
Sab 20 Feb 2010 14:09:12 CET


questo: 

FATAL: Ident authentication failed for user "postgres"

è un problema di permessi , i.e. la password o l'utente che stai usando
non sono quelli giusti. Può essere che tu abbia settato l'utente root e
non postgres, in tal caso prova a "settare" il progetto come root (cioè
lancia il comando con sudo davanti).

-- 
Andrea Dallera
http://github.com/bolthar/freightrain
http://usingimho.wordpress.com


On Sat, 2010-02-20 at 13:58 +0100, Yuri Redaelli wrote:
> Andrea Dallera wrote:
> > Yes :-) scusa, non ho considerato la possibilità che fosse deprecato e
> > non ho provato sulla mia macchina.
> > 
> > sudo install apt-get libpg-dev dovrebbe andare.
> > 
> > 
> > 
> > 
> > --
> > Andrea Dallera
> > http://github.com/bolthar/freightrain
> > http://usingimho.wordpress.com
> 
> Ok ho provato ad installarlo e sembra funzionare nel senso che ottengo 
> sempre questo errore:
> 
> WARNING:  Installing to ~/.gem since /var/lib/gems/1.8 and
>     /var/lib/gems/1.8/bin aren't both writable.
> WARNING:  You don't have /home/yuri/.gem/ruby/1.8/bin in your PATH,
>     gem executables will not run.
> Building native extensions.  This could take a while...
> Successfully installed postgres-0.7.9.2008.01.28
> 1 gem installed
> Installing ri documentation for postgres-0.7.9.2008.01.28...
> Installing RDoc documentation for postgres-0.7.9.2008.01.28...
> 
> 
> Tuttavia la gemma "postgres" viene comunque correttamente installata.
> 
> Adesso ho provato a settare un progetto ma ottengo:
> 
> rake aborted!
> FATAL:  Ident authentication failed for user "postgres"
> 
> Sò che non dovrebbe essere più un problema relativo a Ruby ma approfitto 
> per chiedervi se vi viene facile un suggerimento a riguardo.
> Ho impostato la password per il server di Postgres ma dato che non lo 
> conosco potrebbe sfuggirmi qualcosa.
> 
> Grazie ancora.



More information about the Ml mailing list