You may have this error when require ‘xml/mapping’ in your ruby script:
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- xml/mapping (LoadError)
Solution: go to the gem directory of XML-Mapping (mine is /usr/lib/ruby/gems/1.8/gems/xml-mapping-0.8.1/lib/) and chmod all files in this directory to 644.
Who is to point finger at here ? Rubygem or XML-Mapping authors ?
No related posts.






Comments 2
Thanks for the post – saved me much frustration.
Posted 18 Mar 2009 at 2:57 pm ¶Thanks for this. I'd been trying to work out what was going on for about 20 mins. I found chmod 755 * in this directory fixed it for me:
{GEMS_ROOT}/xml-mapping-0.8.1/lib/xml
Posted 10 Apr 2010 at 9:53 am ¶Post a Comment