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

Roberto Canella r.luksenburg a gmail.com
Sab 20 Feb 2010 13:08:51 CET


Ciao,

immagino che tu stia utilizzando un sistema Linux o *x; hai provato a lanciare
il comando come utente di root (sudo od affini...) ?

Roberto

On Sat, Feb 20, 2010 at 12:52 PM, Yuri Redaelli <y.redaelli a gmail.com> wrote:
> Ciao a tutti,
>
> sto cercando di usare Postgres con Rails ma se tento di installare la
> gemma relativa incorro in 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...
> ERROR:  Error installing postgres:
>  ERROR: Failed to build gem native extension.
>
> /usr/bin/ruby1.8 extconf.rb
> extconf.rb:46:in `require': no such file to load -- mkmf (LoadError)
>  from extconf.rb:46
>
>
> Gem files will remain installed in
> /home/yuri/.gem/ruby/1.8/gems/postgres-0.7.9.2008.01.28 for inspection.
> Results logged to
> /home/yuri/.gem/ruby/1.8/gems/postgres-0.7.9.2008.01.28/ext/gem_make.out
>
> Avete dei suggerimenti?
>
> Grazie in anticipo.
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ml mailing list
> Ml a lists.ruby-it.org
> http://lists.ruby-it.org/mailman/listinfo/ml
>


More information about the Ml mailing list