How to start and handle soap4r server in production mode?

In console i m able to start soap4r server

require ‘soap/rpc/standaloneServer’

server =‘hws’, ‘urn:hws’, ‘’,
trap(:INT) do

and get response of soap

how can i do in production mode?
is there any possibility to put code in environment.rb
so that in backend the server will be running

Thanks in advance

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs