Skip to content
Tools for communicating with BRIDGE-capable servers
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



Rack-Bridge provides a rack-based server for connecting to a BRIDGE-capable server (like CloudBridge). This can be used with any rack-capable framework that supports automatic loading of the handler, which includes at least rackup and rails. Examples for those two frameworks are below.


Save a key you got from in your user key store:

bridge_store_key Save a key you got from in your app's key store:

bridge_store_key –site

Use Rackup to connect to (assumes you stored the key as above):

rackup -s Bridge -o Use Rails >= 2.3 to connect to (assumes you stored the key as above):

script/server Bridge -b Specify a key through the environment without saving it: rackup -s Bridge -o script/server Bridge -b

More Information

CloudBridge: OnCloud: Summary of CloudBridge/OnCloud:

Note on Patches/Pull Requests

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don't break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)

  • Send me a pull request. Bonus points for topic branches.


Copyright © 2010 Graham Batty. See LICENSE for details.

Something went wrong with that request. Please try again.