fix ruby psenvpub/psenvsub example

* convert to using ffi-rzmq
* minor stylistic changes