awips2/cotsSource/org.apache.qpid/ruby/README.txt
root 9f19e3f712 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00

22 lines
614 B
Text

= INSTALLATION =
Extract the release archive into a directory of your choice and set
your RUBYLIB environment variable accordingly:
tar -xzf qpid-ruby-<version>.tar.gz -C <install-prefix>
export RUBYLIB=<install-prefix>/qpid-<version>/ruby/lib
= GETTING STARTED =
The ruby client includes a simple hello-world example that publishes
and consumes a message:
cp <install-prefix>/qpid-<version>/ruby/examples/hello-world.rb .
./hello-world.rb
= RUNNING THE TESTS =
The "tests" directory contains a collection of unit tests for the ruby
client. These can be run with the Rakefile provided:
rake test