I''ve been searching around for a curl implementation on ruby and havn''t had much luck. I have run into open-uri and Net::HTTP but they just arnt as robust as curl. The closest thing i found was this previous thread from July http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/149926 on using ruby-dl to load libcurl. Has anyone gotten any farther on this implementation? I have to admit I''m a ruby newbie and I''m not as strong in C as I would like so I''m having troubles extending this example farther. I''m able to set some of the easy_setopt options but actually fetching the page is eluding me. Any help or ideas would be appreciated. Thanks, Dallas -- Posted via http://www.ruby-forum.com/.
Hi! Take a look at http://www.d1.dion.ne.jp/~matuyuki/ruby.html /Jan Dallas wrote:> I''ve been searching around for a curl implementation on ruby and havn''t > had much luck. I have run into open-uri and Net::HTTP but they just > arnt as robust as curl. The closest thing i found was this previous > thread from July > > http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/149926 > > on using ruby-dl to load libcurl. Has anyone gotten any farther on this > implementation? I have to admit I''m a ruby newbie and I''m not as strong > in C as I would like so I''m having troubles extending this example > farther. I''m able to set some of the easy_setopt options but actually > fetching the page is eluding me. Any help or ideas would be > appreciated. > > Thanks, > Dallas >
Hey Jan, Thanks, I found that link too. I guess I gave up right away because the README says O/S FreeBSD only now. sorry! maybe easy to port to Linux and Win. Sombody please! I''m using Fedora, but I guess I can try to figure out how to get it working there (coming from PHP world still a newbie on getting libraries like this compiled in) -Dallas Jan Schreiber wrote:> Hi! > > Take a look at http://www.d1.dion.ne.jp/~matuyuki/ruby.html > > /Jan-- Posted via http://www.ruby-forum.com/.