Topic: Deploy webservice and use

I'm writing a simple website with rails. directory root of website is under /SampleWebsite/. Server is webrick
Now i want to practise with web services

I've written a web service according to http://www.tutorialspoint.com/ruby/ruby … rvices.htm and run successfully

How do I deploy this web service on my website (SampleWebsite)?