Skip to content
edhowland edited this page Sep 13, 2010 · 2 revisions

Setting up the ruby server is easy. Assuming you have the Sinatra gem installed, you just need to launch the server by servers/ruby_server.rb. It will launch on port 4567. Then run the specs by ‘spec spec/spec_wire_spec.rb’

You must have the configuration set to the default for the specs to run. See config/environment.rb.

The Ruby server is a reference server meant for testing the specs and coding new servers for other target languages. It depends on the ruby JSON library and Sinatra for a small REST server. It is small and lightweight enough to follow the code in one file when developing new servers.

Clone this wiki locally