summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-02-20 14:29:42 +0000
committerDwayne Boone <dwayne@zeroc.com>2007-02-20 14:29:42 +0000
commit720ba465d33cbb1ebc246102c6dd74d2d5b3c71f (patch)
treef4630a174c449a2c305c645d3a4a66ae8274af31 /cpp
parentFixed typo (diff)
downloadice-720ba465d33cbb1ebc246102c6dd74d2d5b3c71f.tar.bz2
ice-720ba465d33cbb1ebc246102c6dd74d2d5b3c71f.tar.xz
ice-720ba465d33cbb1ebc246102c6dd74d2d5b3c71f.zip
Added ruby demo section
Diffstat (limited to 'cpp')
-rwxr-xr-xcpp/install/vc60/doc/README.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/cpp/install/vc60/doc/README.txt b/cpp/install/vc60/doc/README.txt
index c837468115d..c0b27f43af3 100755
--- a/cpp/install/vc60/doc/README.txt
+++ b/cpp/install/vc60/doc/README.txt
@@ -80,6 +80,42 @@ Some demo directories contain README files if additional requirements
are necessary.
+Running the Ruby demos
+----------------------
+
+The Ruby demos are in the demorb directory.
+
+You need Ruby 1.8.5 to run the demos. A binary installer for Ruby
+can be downloaded from:
+
+http://rubyforge.org/projects/rubyinstaller/
+
+You also need to add the Ice bin directory to your PATH, for example:
+
+set ICE_HOME=<Ice installation root directory>
+set PATH=%ICE_HOME%\bin;%PATH%
+
+Finally, set RUBYLIB so that the Ruby interpreter is able to load
+the Ice extension:
+
+set RUBYLIB=%ICE_HOME%\ruby;%RUBYLIB%
+
+Since Ice for Ruby does not support server-side activities, only
+clients are provided in the demos. In order to run the demos you must
+use the corresponding C++ server.
+
+For example, to run the hello application in demo\Ice\hello, we begin
+by starting the C++ server:
+
+ > cd %ICE_HOME%\demo\Ice\hello
+ > server
+
+Then in a separate window, start the Ruby client:
+
+ > cd %ICE_HOME%\demorb\Ice\hello
+ > ruby Client.rb
+
+
Running the PHP demos
---------------------