Gem update problem

Hi, firs at all sorry if my english is not the best.

I’m working with OSX and i have a problem trying to launc localhost.
In mongrel.log i can see this message:

Agent Log is found in /Users/jose/rankia/log/newrelic_agent.3000.log
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require’: no such file to load – action_mailer/ar_mailer
(MissingSourceFile)

but if i write gem list --local I can see this:

*** LOCAL GEMS ***

actionmailer (2.2.2, 2.1.2, 1.3.6)

It´s strange… gem is installed.

I write:

sudo gem update

but it shows me this message:

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

how can i solved it?.. It’s my first time whit mac and i never see
this kind of error :(. anybody can help me please? :frowning:

solved with gem install ar_mailer

Jose vicente Ribera pellicer wrote:

solved with gem install ar_mailer

Ummm, not solvd at all.

Now I can use my localhost but when I try to update my gems I see the
same error.
:frowning:

I can work fine, but i don’t like to see this kinds of errors when i try
to update my gems. Any help please?

Jose vicente Ribera pellicer wrote:

Jose vicente Ribera pellicer wrote:

solved with gem install ar_mailer

Ummm, not solvd at all.

Now I can use my localhost but when I try to update my gems I see the
same error.
:frowning:

I can work fine, but i don’t like to see this kinds of errors when i try
to update my gems. Any help please?

The easiest fix is to install the previous version:

% sudo gem install libxml-ruby --version 0.9.8

The alternative is to patch the files yourself in version 0.9.9 which
appears to have an issue. I’ve made a quick and dirty hack posted on
Github
(Fix to make IO_ATTR set as extern in 2 of 3 files · tadman/libxml-ruby@bf484fe · GitHub)