How to install TCLink on OS X? ruby-devel package?


I’m trying to install TCLink library from as indicated in the ActiveMerchant
documentation (

The README for TCLink v3.4.4 says:

“Besides the normal Ruby install, you’ll need the ruby-devel package,
which contains files needed for building Ruby extensions.”

Does anyone know what this means? Am I supposed to install a new ruby
package called ‘ruby-devel’? This is what I think it means. If so, I
don’t know how to do this.

I’m on OS X. If anyone has something helpful, I’d appreciate it.

you might have it already… did you try the install?

On Aug 2, 10:41 am, Elliott B. [email protected]


Thanks for your reply. Yes, I think you’re right. I did finally find
out out do accomplish my objective, and I’ll leave the solution here for

To make TCLink available to rails, you need to:

  1. download the tclink library from
  2. unzip
  3. cd tclink-3.4.4-ruby
  4. ./
  5. ruby tctest.rb (just to make sure it works)
  6. the build process will create a file called ‘tclink.bundle’. copy
    this file to the /lib directory of your project root. You will have to
    repeat the process on your on your production machine if it differs from
    your development machine.
  7. restart, and it should just work

Peace on,

We’ve updated ActiveMerchant to fall back to SSL POST when the TCLink
library isn’t available. If the TCLink library is available then the
gateway will use it automatically.

On 8/3/07, Elliott B. [email protected] wrote:

  1. unzip

    Posted via

Cody F. - e-commerce done right - blog - RJS Templates for Rails

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs