2010/5/18 Luis Lavena <[email protected]>
> Raro raro, en ubuntu es el unico escenario donde mkmf no es parte de ruby.
> Seguro que hiciste rvm 1.9.1 y despues gem install sin sudo?
>
> Sent from mobile.
>
> On May 18, 2010 1:33 AM, "Cristhian Boujon" <[email protected]>
> wrote:
>
>
>
> 2010/5/18 Luis Lavena <[email protected]>
>
> > > Disculpen el top posting. > > Estas usando el ruby de ubuntu. Instala
> ruby-full y vas a tener t...
> Luis, eso estoy haciendo, usando rvm con ruby 1.9.1
>
> _______________________________________________
> Ruby mailing list
> [email protected]
> http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar
>
>
> _______________________________________________
> Ruby mailing list
> [email protected]
> http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar
>
>
siempre lo corrí con sudo, después de lelr esto probé de ejecutarlo sin sudo
y obtuve:
gem install ruby-pg
Building native extensions. This could take a while...
ERROR: Error installing ruby-pg:
ERROR: Failed to build gem native extension.
/home/cristhian/.rvm/rubies/ruby-1.9.1-p378/bin/ruby extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/home/cristhian/.rvm/rubies/ruby-1.9.1-p378/bin/ruby
extconf.rb:4:in `<main>': uninitialized constant PLATFORM (NameError)
Gem files will remain installed in
/home/cristhian/.rvm/gems/ruby-1.9.1-p378/gems/ruby-pg-0.7.9.2008.01.28 for
inspection.
Results logged to
/home/cristhian/.rvm/gems/ruby-1.9.1-p378/gems/ruby-pg-0.7.9.2008.01.28/ext/gem_make.out
_______________________________________________
Ruby mailing list
[email protected]
http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar