Thursday, August 07, 2008

Deploying Rails app as war with warbler to Tomcat

If you are deploying your Rails app to Tomcat using warbler and the Tomcat install directory has spaces in then you must escape the slashes and also add a starting and ending quote properly escaped as shown below in config/warbler.rb:

config.autodeploy_dir = "\"C:\\Program Files\\Apache Software Foundation\\Tomcat 6.0.18\\webapps\""

No comments: