Hi... I''m using Actionwebservice::Struct to pass complex elements to my webservice calls... I''ve installed the actionwebservice gem and made changes in environment.rb as told at http://fiatdev.com/2007/05/31/making-actionwebservice-work-with-edge-rails .. But at i get an error at server startup as... c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependenci es.rb:492:in `const_missing'': uninitialized constant ActionWebService::Base::Rel oadable (NameError) from c:/ruby/lib/ruby/site_ruby/1.8/action_web_service/base.rb:36 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge m_original_require'' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re quire'' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_suppo rt/dependencies.rb:509:in `require'' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_suppo rt/dependencies.rb:354:in `new_constants_in'' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_suppo rt/dependencies.rb:509:in `require'' from c:/ruby/lib/ruby/site_ruby/1.8/action_web_service.rb:39 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge m_original_require'' ... 31 levels... from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/server.rb:3 9 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge m_original_require'' from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re quire'' from script/server:3 Please someone help me out of this.. Thank you so much -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hi Jeba, I am using Rails 2.2.2 and the actionwebservice gem. To manage to use this gem, I uninstall all the previous actionwebservice gem on my local machine. Then I download the last actionwebservice repository on the github http://github.com/datanoise/actionwebservice/tree/master . Clone the repository any where on your local machine : git clone git://github.com/datanoise/actionwebservice.git Then go to your new actionwebservice directory and execute the command ruby setup.rb This will install the gem in your site_ruby directory. And you can now use the actionwebservice features in your Rails application. Don''t forget to add these few lines in your environment.rb : Rails::Initializer.run do |config| ... config.load_paths += %W( #{RAILS_ROOT}/app/apis ) ... end require ''action_web_service'' I hope that my configuration of actionwebservice with Rails 2.2.2 has helpt you. On Mon, Feb 2, 2009 at 11:39 AM, Jeba Momin < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Hi... > I''m using Actionwebservice::Struct > to pass complex elements to my webservice calls... > I''ve installed the actionwebservice gem and made changes in > environment.rb as told at > http://fiatdev.com/2007/05/31/making-actionwebservice-work-with-edge-rails > .. > But at i get an error at server startup as... > > c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependenci > es.rb:492:in `const_missing'': uninitialized constant > ActionWebService::Base::Rel > oadable (NameError) > from > c:/ruby/lib/ruby/site_ruby/1.8/action_web_service/base.rb:36 > from > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge > m_original_require'' > from > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re > quire'' > from > c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_suppo > rt/dependencies.rb:509:in `require'' > from > c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_suppo > rt/dependencies.rb:354:in `new_constants_in'' > from > c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_suppo > rt/dependencies.rb:509:in `require'' > from c:/ruby/lib/ruby/site_ruby/1.8/action_web_service.rb:39 > from > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge > m_original_require'' > ... 31 levels... > from > c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/server.rb:3 > 9 > from > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge > m_original_require'' > from > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re > quire'' > from script/server:3 > > Please someone help me out of this.. > Thank you so much > -- > Posted via http://www.ruby-forum.com/. > > > >-- Alex --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Alex Le Bescond wrote:> Hi Jeba, > > I am using Rails 2.2.2 and the actionwebservice gem. > To manage to use this gem, I uninstall all the previous actionwebservice > gem > on my local machine. > Then I download the last actionwebservice repository on the github > http://github.com/datanoise/actionwebservice/tree/master . > Clone the repository any where on your local machine : git clone > git://github.com/datanoise/actionwebservice.git > > Then go to your new actionwebservice directory and execute the command > ruby > setup.rb > This will install the gem in your site_ruby directory. And you can now > use > the actionwebservice features in your Rails application. > > Don''t forget to add these few lines in your environment.rb : > > Rails::Initializer.run do |config| > ... > config.load_paths += %W( > #{RAILS_ROOT}/app/apis > ) > ... > end > > require ''action_web_service'' > > I hope that my configuration of actionwebservice with Rails 2.2.2 has > helpt > you.Hey.. thank you so much for your help... I''ll surely try this solution... Thanks again.. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---