[ruby-it] [Ubuntu] Problema installazione gemma Postgres
Andrea Pavoni
apeacox a gmail.com
Sab 20 Feb 2010 13:05:17 CET
sembra un problema di vecchia data (2006?!), qui c'è una soluzione:
http://blogs.law.harvard.edu/hoanga/2006/10/27/fixing-mkmf-load-error-ruby-in-ubuntu/
ciao,
a.
On 20/02/2010 12:52, Yuri Redaelli 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.
>
More information about the Ml
mailing list