summaryrefslogtreecommitdiff
path: root/trunk/qpid/ruby/README.txt
blob: 3c483f996b2f306dbd7d9b82605f6f7b1b7a335a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
= 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