I am using Ruby on Rails 3 and I am trying to develop a server application that interacts with web services.
Since it is “hard” to develop that using the Ruby on Rails framework because there are many complications on the way (e.g.: classe encapsulation using namespaces), is it advisable to write the server application entirely in pure Ruby code?
I wouldn’t advocate using Ruby on Rails as a persistent server, as it’s completely engineered for a web-based request-driven approach, but Ruby is a perfectly fine language to pursue that sort of thing in.
eventmachine is a great place to start as it has a number of example modules that implement standard services like SMTP, DNS and Websocket.
It really depends on what kind of a server you’re trying to build.