standalone.rb

Path: examples/standalone/standalone.rb
Last Update: Wed Mar 12 00:01:36 -0600 2008

Merb Standalone SWX Ruby Server

An example of how simple it is to build a standalone SWX Ruby server using Merb.

Prerequisites

  • SWX Ruby Gem (gem install swxruby)
  • merb-core 0.9.1 or later (gem install merb-core)

Take it for a spin

  • Open a terminal in the examples/standalone directory and execute ‘merb -I standalone.rb’ to fire up the Merb server.
  • Open standalone.fla in Flash 8 or later.
  • Publish Preview (ctrl+enter on Windows; cmd+enter on OS X).
  • Watch as the output panel begins tracing "Hello from Merb!".

Required files

rubygems   swxruby  

[Validate]