From: Justin Collins Date: 2006-11-08T17:52:14+09:00 Subject: Re: how to include this library into ruby? Sayan Thabthimyai wrote: > i have download rbCurl-0.0.2a0.tgz(this library is about ftps) from > http://www.d1.dion.ne.jp/~matuyuki/ruby.html > i extract rbCurl-0.0.2a0.tgz and i got > api.def > auto_defs.inc > auto_funcs.inc > example.rb > extconf.rb > gen_api.rb > init.c > README > template.rb > TODO > i have no idia to include these files into ruby. i found this line > require 'curl' in example.rb and i tried to install curl from gem > install curl . i got > root@ubuntu:~# gem install curl > Attempting local installation of 'curl' > Local gem file not found: curl*.gem > Attempting remote installation of 'curl' > Updating Gem source index for: http://gems.rubyforge.org > ERROR: While executing gem ... (Gem::GemNotFoundException) > Could not find curl (> 0) in the repository > Does any one know how to include this library into ruby? > or does anyone know other library that can connect to ftps by using > ruby? > regards > Sayan > > Change to the directory rbCurl and run: ruby extconf.rb make make install (as root) Note that this did not compile for me, maybe it will for you, but it looks pretty old (2001). It also doesn't look like any gems were made for this project. The gem command uses rubyforge.org as the default place to get packages and that project isn't listed there. I haven't used any ftps libraries personally, but I found this one on RubyForge: http://rubyforge.org/projects/ftpfxp/ Good luck. -Justin