soap4r icon indicating copy to clipboard operation
soap4r copied to clipboard

require 'xsd/mapping'

Open tomazbracic opened this issue 10 years ago • 1 comments

when you use xsd2ruby with --mapping_registry as in the samples for marshal... you get an error for require 'xsd/mapping' .. probably due to the fact that this is no longer in standard library?

Can you please help?

tomazbracic avatar Nov 06 '15 16:11 tomazbracic

Have you tried running it when Soap4R is installed under Bundler and a Gemfile -- i.e. "bundle exec" and your ruby invocation command?

"xsd/mapping" refers to "lib/xsd/mapping.rb" in Soap4R. If you're not using Bundler, you'll have to use other mechanisms to get the Soap4R code into scope enough to work with a require command.

rubyjedi avatar Nov 10 '15 06:11 rubyjedi