I have tried to run rails on mongrel, so i included gem 'mongrel' in the gemfile and started rails server mongrel
, the server started fine. But i need to start rails on 'tcserver'. How can i do that?. rails server tcserver
throws LoadError: no such file to load -- rack/handler/tcserver
which is quite obvious. Please let me know how to start a rails application on a tcserver
Vfabric TC Server is an adaption of Apache Tomcat, and as such is a Java servlet container. It does not run Ruby-on-Rails as is.
You would need to use JRuby, and a tool such as Warbler, which packages Rails apps into WARs compatible with Tomcat.
This Is a good step-by-step for the process. (Replace Tomcat with TC server instance)