Ruby Runtime Hosting
HO-S-16 Integrating Ruby Scripts with Virtuoso
Using Ruby code to extend Virtuoso.
Overview
The following tutorial demonstrates how Virtuoso can be extended through the use of Ruby.
The demonstrations in this section highlight transparent integration (hosting) between Virtuoso and the Ruby Runtime.
Prerequisites
The following prerequisites ensure the usability of these tutorial demos on any platform with a Ruby runtime:
- Ruby 1.8.2 or higher
- Ruby should be compiled to have libruby.1.8 as a shared object
- Virtuoso Universal Server with Ruby Runtime Hosting module
Tutorial Example
The following tutorial shows how Ruby scripts using cgitest.rb are executed within Virtuoso HTTP server.
Please follow the steps below to maximize the value of this tutorial:
- Click on the "Run" links to actually experience the demo
In order to run this example you need Ruby Runtime Hosting Plugin Enabled.
| View the source | Action |
|---|---|
| 1. cgitest.rb | Run |
OpenLink Home
Technical Support