Problema gem update


#1

Hola, estoy intentando implementar los cambios que hemos hecho en una
web a otra. La cosa parecia facil, tan solo era trasladar el código,
pero no puedo arrancar en localhost. Mongrel.log muestra la siguiente
informacion:

/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require’: no such file to load – action_mailer/ar_mailer
(MissingSourceFile)

Hago un gem list --local y para mi sorpresa veo que si esta instalada:

*** LOCAL GEMS ***

actionmailer (2.2.2, 2.1.2, 1.3.6)
.
.
.

Asi que decido hacer un sudo gem update, porque ya me parece muy raro lo
que pasa, me dice que falta una gema que esta instalada…y entonces es
cuando me sale un error que no habia visto nunca. Lo copio entero aunque
se que es un buen trozo. Por si sirve de ayuda estamos trabajando con
macs, en mi portatil tengo instalado ubuntu y si que es cierto que
necesite instalar alguna libreia para hacerlo funcionar…pero de mac no
tengo mucha idea y quizas alguien del foro se haya encontrado con este
problema antes.

Un saludo y gracias

sudo gem update
Password:
Updating installed gems
Updating libxml-ruby
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
extconf.rb update
checking for socket() in -lsocket… no
checking for gethostbyname() in -lnsl… no
checking for atan() in -lm… no
checking for atan() in -lm… yes
checking for inflate() in -lz… yes
checking for iconv_open() in -liconv… yes
checking for libxml/xmlversion.h… yes
checking for xmlDocFormatDump()… yes
checking for docbCreateFileParserCtxt()… yes
creating extconf.h
creating Makefile

make
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c cbg.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c libxml.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml.c
ruby_xml.c: In function ‘rxml_default_tree_indent_string_set’:
ruby_xml.c:575: warning: pointer targets in assignment differ in
signedness
ruby_xml.c: In function ‘rxml_default_tree_indent_string_set’:
ruby_xml.c:575: warning: pointer targets in assignment differ in
signedness
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_attr.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_attr_decl.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_attributes.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_document.c
ruby_xml_document.c: In function ‘rxml_document_save’:
ruby_xml_document.c:552: warning: pointer targets in assignment differ
in signedness
ruby_xml_document.c: In function ‘rxml_document_save’:
ruby_xml_document.c:552: warning: pointer targets in assignment differ
in signedness
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_dtd.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_encoding.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_error.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_html_parser.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_html_parser_context.c
ruby_xml_html_parser_context.c: In function
‘rxml_html_parser_context_io’:
ruby_xml_html_parser_context.c:68: warning: assignment makes pointer
from integer without a cast
ruby_xml_html_parser_context.c: In function
‘rxml_html_parser_context_io’:
ruby_xml_html_parser_context.c:68: warning: assignment makes pointer
from integer without a cast
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_html_parser_options.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_input_cbg.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_io.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_namespace.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_namespaces.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_node.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_parser.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_parser_context.c
ruby_xml_parser_context.c: In function ‘rxml_parser_context_document’:
ruby_xml_parser_context.c:55: warning: pointer targets in passing
argument 4 of ‘xmlDocDumpFormatMemoryEnc’ differ in signedness
ruby_xml_parser_context.c: In function
‘rxml_parser_context_base_uri_set’:
ruby_xml_parser_context.c:183: warning: pointer targets in
initialization differ in signedness
ruby_xml_parser_context.c: In function
‘rxml_parser_context_encoding_get’:
ruby_xml_parser_context.c:308: warning: pointer targets in passing
argument 1 of ‘xmlParseCharEncoding’ differ in signedness
ruby_xml_parser_context.c: In function ‘rxml_parser_context_document’:
ruby_xml_parser_context.c:55: warning: pointer targets in passing
argument 4 of ‘xmlDocDumpFormatMemoryEnc’ differ in signedness
ruby_xml_parser_context.c: In function
‘rxml_parser_context_base_uri_set’:
ruby_xml_parser_context.c:183: warning: pointer targets in
initialization differ in signedness
ruby_xml_parser_context.c: In function
‘rxml_parser_context_encoding_get’:
ruby_xml_parser_context.c:308: warning: pointer targets in passing
argument 1 of ‘xmlParseCharEncoding’ differ in signedness
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_parser_options.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_reader.c
ruby_xml_reader.c: In function ‘rxml_reader_encoding’:
ruby_xml_reader.c:600: warning: pointer targets in passing argument 1 of
‘xmlParseCharEncoding’ differ in signedness
ruby_xml_reader.c: In function ‘rxml_reader_encoding’:
ruby_xml_reader.c:600: warning: pointer targets in passing argument 1 of
‘xmlParseCharEncoding’ differ in signedness
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_relaxng.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_sax2_handler.c
ruby_xml_sax2_handler.c: In function ‘end_element_ns_callback’:
ruby_xml_sax2_handler.c:86: warning: pointer targets in passing argument
1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:88: warning: pointer targets in passing argument
2 of ‘rb_str_cat2’ differ in signedness
ruby_xml_sax2_handler.c:92: warning: pointer targets in passing argument
1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:98: warning: pointer targets in passing argument
1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:99: warning: pointer targets in passing argument
1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:100: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c: In function ‘start_element_ns_callback’:
ruby_xml_sax2_handler.c:209: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:210: warning: pointer targets in passing
argument 1 of ‘rb_str_new’ differ in signedness
ruby_xml_sax2_handler.c:223: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:224: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:235: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:237: warning: pointer targets in passing
argument 2 of ‘rb_str_cat2’ differ in signedness
ruby_xml_sax2_handler.c:241: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:247: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:249: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:250: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c: In function ‘end_element_ns_callback’:
ruby_xml_sax2_handler.c:86: warning: pointer targets in passing argument
1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:88: warning: pointer targets in passing argument
2 of ‘rb_str_cat2’ differ in signedness
ruby_xml_sax2_handler.c:92: warning: pointer targets in passing argument
1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:98: warning: pointer targets in passing argument
1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:99: warning: pointer targets in passing argument
1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:100: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c: In function ‘start_element_ns_callback’:
ruby_xml_sax2_handler.c:209: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:210: warning: pointer targets in passing
argument 1 of ‘rb_str_new’ differ in signedness
ruby_xml_sax2_handler.c:223: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:224: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:235: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:237: warning: pointer targets in passing
argument 2 of ‘rb_str_cat2’ differ in signedness
ruby_xml_sax2_handler.c:241: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:247: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:249: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
ruby_xml_sax2_handler.c:250: warning: pointer targets in passing
argument 1 of ‘rb_str_new2’ differ in signedness
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_sax_parser.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_schema.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_xinclude.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_xpath.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_xpath_context.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_xpath_expression.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_xpath_object.c
gcc -I. -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -DRUBY_EXTCONF_H=“extconf.h” -fno-common
-arch ppc -arch i386 -Os -pipe -fno-common -I/usr/include/libxml2 -I.
-I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
-I. -I/usr/local/include -c ruby_xml_xpointer.c
cc -arch ppc -arch i386 -pipe -bundle -undefined dynamic_lookup -o
libxml_ruby.bundle cbg.o libxml.o ruby_xml.o ruby_xml_attr.o
ruby_xml_attr_decl.o ruby_xml_attributes.o ruby_xml_document.o
ruby_xml_dtd.o ruby_xml_encoding.o ruby_xml_error.o
ruby_xml_html_parser.o ruby_xml_html_parser_context.o
ruby_xml_html_parser_options.o ruby_xml_input_cbg.o ruby_xml_io.o
ruby_xml_namespace.o ruby_xml_namespaces.o ruby_xml_node.o
ruby_xml_parser.o ruby_xml_parser_context.o ruby_xml_parser_options.o
ruby_xml_reader.o ruby_xml_relaxng.o ruby_xml_sax2_handler.o
ruby_xml_sax_parser.o ruby_xml_schema.o ruby_xml_xinclude.o
ruby_xml_xpath.o ruby_xml_xpath_context.o ruby_xml_xpath_expression.o
ruby_xml_xpath_object.o ruby_xml_xpointer.o -L"."
-L"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib"
-L"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib" -L.
-arch ppc -arch i386 -lruby -L/usr/lib -lxml2 -lz -lpthread -licucore
-lm -liconv -lz -lm -lpthread -ldl -lm
ld: duplicate symbol _IO_ATTR in ruby_xml_parser_context.o and
ruby_xml_html_parser_context.o for architecture i386
collect2: ld returned 1 exit status
ld: duplicate symbol _IO_ATTR in ruby_xml_parser_context.o and
ruby_xml_html_parser_context.o for architecture ppc
collect2: ld returned 1 exit status
lipo: can’t open input file: /var/tmp//ccRDOhXE.out (No such file or
directory)
make: *** [libxml_ruby.bundle] Error 1


#2

Suponiendo que estas en un Mac, me pregunto si tienes instaladas las
“Developer Tools”.

On Fri, Mar 6, 2009 at 10:11 AM, Jose vicente Ribera pellicer


#3

Francesc E. wrote:

Suponiendo que estas en un Mac, me pregunto si tienes instaladas las
“Developer Tools”.

On Fri, Mar 6, 2009 at 10:11 AM, Jose vicente Ribera pellicer.

En ello estoy ahora mismo, luego posteo que tal.


#4

la gema que te falta es ar_mailer que es para encolar los envios de
correos,
no la de actiomailer que ya viene de serie con rails, que es el sistema
de
envio de mails en sí

saludos

On Fri, Mar 6, 2009 at 11:02 AM, Jose vicente Ribera pellicer <


#5

Sigue dando error :frowning:

Alguna ayuda?


#6

Gracias Borja, ya lo tengo funcionando.

Saludos


#7

Haz esto, en un terminal

sudo ln -s /usr/include/libxml2/libxml
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0/libxml

y luego trata de hacer un sudo gem update ruby --include-dependencies

Un saludo.

Félix


#8

Ummm…como he comentado ya lo tengo funcionando en localhost, faltaba
la gema. Pero al actualizar las gemas me sigue dando el mismo error,
supongo que no es algo crítico (al menos de moento) pero lógicamente no
es algo que me guste mucho.

Dejo el hilo abierto por si alguien que se hubiese encontrado con el
mismo problema puede hecharme un cable.

Un saludo a todos y gracias por la ayuda :slight_smile:


#9

Felix Guerrero wrote:

Haz esto, en un terminal

sudo ln -s /usr/include/libxml2/libxml
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0/libxml

y luego trata de hacer un sudo gem update ruby --include-dependencies

Un saludo.

Félix

Gracias, funciono!!!