I''ve brought up a new kubuntu system, and installed rails. I''ve also done a gem install payment In my code, I''m getting a LoadError when I try to load the gem. When I require ''payment'', I get the error LoadError: no such file to load -- openssl.so I have openssl installed. I''ve also installed libopenssl-ruby1.8. Can anyone let me know what the problem might be Thanks in advance -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. On 12/19/06, Michael Satterwhite <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > I''ve brought up a new kubuntu system, and installed rails. I''ve also > done a > gem install payment > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 On 12/19/06, Bala Paranj <bcparanj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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. > > > On 12/19/06, Michael Satterwhite > <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > > > I''ve brought up a new kubuntu system, and installed rails. I''ve also > > done a > > gem install payment > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
mcintyre.tim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Dec-19 18:02 UTC
Re: payment gem
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---