payment gem

I think you need to install the money gem before you can use payment gem. Double check to make sure that you have all the pre-requisite gems installed properly.

Try entering something like this in irb: require 'openssl'

If that fails, then there's a problem with your Ruby bindings somehow.

Do you have the development files for OpenSSL installed (i.e.,
openssl-dev or whatever)? (I'm not sure these are a requirement, but
it wouldn't hurt)

--Jeremy

Jeremy McAnally wrote:

Try entering something like this in irb: require 'openssl'

Do you have the development files for OpenSSL installed (i.e.,
openssl-dev or whatever)? (I'm not sure these are a requirement, but
it wouldn't hurt)

Yes you actually do need the dev files.

libcurl3-openssl-dev are the ones I used and if fixed the same problem
your having. The money gem is required for ActiveMerchant but not for
the payment gem.

Just a word of warning on the payment gem. I've run into a couple
problems with it most notably it tries to split the server response on
"," when it should be split on "|". Also for echecks you have to use
both the routing_code and bank_aba_code parameters even though they are
the same... ugh! They have not been maintained since mid 2005...
someone else (I'll do it) should take over if possible.

Tim