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

**URL:** <https://www.ruby-forum.com/t/how-to-install-tclink-on-os-x-ruby-devel-package/111094>\
**Category:** Rails\
**Created:** [August 2, 2007, 4:41pm UTC](https://www.ruby-forum.com/t/how-to-install-tclink-on-os-x-ruby-devel-package/111094 "2007-08-02T16:41:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eblatt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7bcc69/32.png) [@eblatt](https://www.ruby-forum.com/u/eblatt)\
**Post date:** [August 2, 2007, 4:41pm UTC](https://www.ruby-forum.com/t/how-to-install-tclink-on-os-x-ruby-devel-package/111094/1 "2007-08-02T16:41:53Z")

</div>

Hello,

I’m trying to install TCLink library from  
[www.trustcommerce.com/tclink.html](http://www.trustcommerce.com/tclink.html) as indicated in the ActiveMerchant  
documentation ([http://activemerchant.rubyforge.org/](http://activemerchant.rubyforge.org/)).

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.

---

<div class="post-metadata">

**Author:** ![eblatt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7bcc69/32.png) [@eblatt](https://www.ruby-forum.com/u/eblatt)\
**Post date:** [August 3, 2007, 4:14am UTC](https://www.ruby-forum.com/t/how-to-install-tclink-on-os-x-ruby-devel-package/111094/2 "2007-08-03T04:14:50Z")

</div>

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

On Aug 2, 10:41 am, Elliott B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![eblatt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7bcc69/32.png) [@eblatt](https://www.ruby-forum.com/u/eblatt)\
**Post date:** [August 3, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/how-to-install-tclink-on-os-x-ruby-devel-package/111094/3 "2007-08-03T16:21:25Z")

</div>

Jeff,

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  
posterity.

To make TCLink available to rails, you need to:

1. download the tclink library from [www.trustcommerce.com/tclink.html](http://www.trustcommerce.com/tclink.html)
2. unzip
3. cd tclink-3.4.4-ruby
4. ./build.sh
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,  
EB

---

<div class="post-metadata">

**Author:** ![eblatt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7bcc69/32.png) [@eblatt](https://www.ruby-forum.com/u/eblatt)\
**Post date:** [January 25, 2008, 3:17am UTC](https://www.ruby-forum.com/t/how-to-install-tclink-on-os-x-ruby-devel-package/111094/4 "2008-01-25T03:17:37Z")

</div>

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. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 1. unzip  
> EB  
> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> >

–  
Cody F.  
[http://shopify.com](http://shopify.com) - e-commerce done right  
[http://www.codyfauser.com](http://www.codyfauser.com) - blog  
[http://www.oreilly.com/catalog/rjsrails](http://www.oreilly.com/catalog/rjsrails) - RJS Templates for Rails
