Just in case that you are looking into a setup of tight SmartFoxServer integration in one of your rails apps, I can hereby confirm that it is working. I could not find any resources describing a setup of these components, so I will drop a short note about it right here and right now.

  1. Create your rails application and make sure it works
  2. Download and install jRuby and jetty-rails. Change settings as described in many articles on the web and make sure that your application still works. In most cases you will have to install all gems from jruby and change the database configuration.
  3. Download and install the fantastic warbler gem and run from the root of your app “jruby -S warble config” and “jruby -S warble war”. It will set up the basic servlet structure in tmp/war and copy all dependencies into the path.
  4. You are done! Just copy the *.war file, or the tmp/war folder to your jetty webapps folder (usually smartfoxserver/webserver/webapps) and restart smartfox. You should be able to access your application on http://localhost:8080/app_name

I know, this is a very brief and rough desrciption of the process, but you should get the basic idea and a confirmation that the setup works.