Hello, I''m maintaining a legacy app that crashes when I remove the "gem soap4r" line from boot.rb. As far as I can tell, nothing in this app uses soap. The app doesn''t complain when I switch the Rails gem to 1.1.6 from 1.2.6. Does anyone know how I can find out what is needing the soap4r gem so I can get rid of it? Here''s the error I get when mongrel tries to start under 1.2.6: ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ dependencies.rb:477:in `const_missing'': uninitialized constant XSD::NS::KNOWN_TAG (NameError) from /var/lib/gems/1.8/gems/soap4r-1.5.8/lib/soap/ns.rb:18 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'' from /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ dependencies.rb:495:in `require'' from /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ dependencies.rb:342:in `new_constants_in'' from /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ dependencies.rb:495:in `require'' from /var/lib/gems/1.8/gems/soap4r-1.5.8/lib/soap/generator.rb:10 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' ... 58 levels... from /var/lib/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/ command.rb:212:in `run'' from /var/lib/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 from /var/lib/gems/1.8/bin/mongrel_rails:16:in `load'' from /var/lib/gems/1.8/bin/mongrel_rails:16 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
If you''re not using activewebservice, just get rid of that library and it should clear out this error. Jason On 5/12/08, Matt White <whiteqt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hello, > > I''m maintaining a legacy app that crashes when I remove the "gem > soap4r" line from boot.rb. As far as I can tell, nothing in this app > uses soap. The app doesn''t complain when I switch the Rails gem to > 1.1.6 from 1.2.6. Does anyone know how I can find out what is needing > the soap4r gem so I can get rid of it? Here''s the error I get when > mongrel tries to start under 1.2.6: > > ** Starting Mongrel listening at 0.0.0.0:3000 > ** Starting Rails with development environment... > /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ > dependencies.rb:477:in `const_missing'': uninitialized constant > XSD::NS::KNOWN_TAG (NameError) > from /var/lib/gems/1.8/gems/soap4r-1.5.8/lib/soap/ns.rb:18 > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require'' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'' > from /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ > dependencies.rb:495:in `require'' > from /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ > dependencies.rb:342:in `new_constants_in'' > from /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ > dependencies.rb:495:in `require'' > from /var/lib/gems/1.8/gems/soap4r-1.5.8/lib/soap/generator.rb:10 > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require'' > ... 58 levels... > from /var/lib/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/ > command.rb:212:in `run'' > from /var/lib/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 > from /var/lib/gems/1.8/bin/mongrel_rails:16:in `load'' > from /var/lib/gems/1.8/bin/mongrel_rails:16 > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Unfortunately we run another app that does use soap4r, so I can''t just remove it from my system. I do want to get it off this particular app though. Any other ideas? On May 12, 11:34 am, "Jason Roelofs" <jameskil...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> If you''re not using activewebservice, just get rid of that library and > it should clear out this error. > > Jason > > On 5/12/08, Matt White <whit...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Hello, > > > I''m maintaining a legacy app that crashes when I remove the "gem > > soap4r" line from boot.rb. As far as I can tell, nothing in this app > > uses soap. The app doesn''t complain when I switch the Rails gem to > > 1.1.6 from 1.2.6. Does anyone know how I can find out what is needing > > the soap4r gem so I can get rid of it? Here''s the error I get when > > mongrel tries to start under 1.2.6: > > > ** Starting Mongrel listening at 0.0.0.0:3000 > > ** Starting Rails with development environment... > > /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ > > dependencies.rb:477:in `const_missing'': uninitialized constant > > XSD::NS::KNOWN_TAG (NameError) > > from /var/lib/gems/1.8/gems/soap4r-1.5.8/lib/soap/ns.rb:18 > > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > > `gem_original_require'' > > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > from /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ > > dependencies.rb:495:in `require'' > > from /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ > > dependencies.rb:342:in `new_constants_in'' > > from /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ > > dependencies.rb:495:in `require'' > > from /var/lib/gems/1.8/gems/soap4r-1.5.8/lib/soap/generator.rb:10 > > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > > `gem_original_require'' > > ... 58 levels... > > from /var/lib/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/ > > command.rb:212:in `run'' > > from /var/lib/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 > > from /var/lib/gems/1.8/bin/mongrel_rails:16:in `load'' > > from /var/lib/gems/1.8/bin/mongrel_rails:16--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I think what he meant was to remove it in environment.rb: config.frameworks -= :action_web_service On May 12, 2:12 pm, Matt White <whit...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Unfortunately we run another app that does use soap4r, so I can''t just > remove it from my system. I do want to get it off this particular app > though. Any other ideas? > > On May 12, 11:34 am, "Jason Roelofs" <jameskil...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > If you''re not using activewebservice, just get rid of that library and > > it should clear out this error. > > > Jason > > > On 5/12/08, Matt White <whit...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Hello, > > > > I''m maintaining a legacy app that crashes when I remove the "gem > > > soap4r" line from boot.rb. As far as I can tell, nothing in this app > > > uses soap. The app doesn''t complain when I switch the Rails gem to > > > 1.1.6 from 1.2.6. Does anyone know how I can find out what is needing > > > the soap4r gem so I can get rid of it? Here''s the error I get when > > > mongrel tries to start under 1.2.6: > > > > ** Starting Mongrel listening at 0.0.0.0:3000 > > > ** Starting Rails with development environment... > > > /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ > > > dependencies.rb:477:in `const_missing'': uninitialized constant > > > XSD::NS::KNOWN_TAG (NameError) > > > from /var/lib/gems/1.8/gems/soap4r-1.5.8/lib/soap/ns.rb:18 > > > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > > > `gem_original_require'' > > > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'' > > > from /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ > > > dependencies.rb:495:in `require'' > > > from /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ > > > dependencies.rb:342:in `new_constants_in'' > > > from /var/lib/gems/1.8/gems/activesupport-1.4.4/lib/active_support/ > > > dependencies.rb:495:in `require'' > > > from /var/lib/gems/1.8/gems/soap4r-1.5.8/lib/soap/generator.rb:10 > > > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in > > > `gem_original_require'' > > > ... 58 levels... > > > from /var/lib/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/ > > > command.rb:212:in `run'' > > > from /var/lib/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 > > > from /var/lib/gems/1.8/bin/mongrel_rails:16:in `load'' > > > from /var/lib/gems/1.8/bin/mongrel_rails:16- Hide quoted text - > > - Show quoted text ---~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---