Having a ruby interpreter in the browser is exiting, even more so if service authors can leverage Ruby's many libraries and/or extensions. To what extend is it possible to 'require' ruby libraries in a service?
yo bartt,
good to hear from you. currently, version 4.2.4 of the RubyInterpreter allows you to use any number of _pure_ ruby libraries inside your service. The only, rather annoying, trick is that you must use replace require() calls with bp_require() to consume source relative to the directory into which your service is installed.
This bit of invented syntax exists for implementation reasons, which now with BrowserPlus 2.2.0 can be resolved. I've started working on the next version of the ruby interpreter service and will continue chipping away at it in the open.
The source lives here:
http://github.com/lloyd/bp-ruby/tree/masterand the top level readme contains some of the desired features in this next version, reproduced here for convenience (notice numbers 1 and 2 :)lloyd