Former-commit-id:133dc97f67
[formerlya02aeb236c
] [formerly9f19e3f712
] [formerly133dc97f67
[formerlya02aeb236c
] [formerly9f19e3f712
] [formerly06a8b51d6d
[formerly9f19e3f712
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]]] Former-commit-id:06a8b51d6d
Former-commit-id:9bb8decbcf
[formerly8e80217e59
] [formerly377dcd10b9
[formerly3360eb6c5f
]] Former-commit-id:377dcd10b9
Former-commit-id:e2ecdcfe33
22 lines
614 B
Text
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
|