small medium large xlarge

01 May 2009, 23:54
Dennis Keith (13 posts)

I have downloaded Curl 7.16.4 to use in Chapter 12 but am having a problem. When I try to run it from a Ruby Console window, I get a session_dump. Not knowning where else to put the curl.exe file, I placed it in the InstantRails\Ruby\bin directory. I’m running a curl without the ssl library on a current instance of Windows XP.

Any assistance would be greatly appreciated.


Dennis Keith

05 May 2009, 00:44
Dennis Keith (13 posts)

I have resolved some of the problems but am still puzzled about the response to the HTML request. It seems to give the generic store information as well.

I get:

C:\InstantRails\rails_apps\depot>curl -H “Accept: text/html”

http://localhost:3000/info/who_bought/2 <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “”>

Progprog Books Online Store
Logo Pragmatic Bookshelf

People Who Bought Pragmatic Project Automation

C:\InstantRails\rails_apps\depot> Thanks for your time. Dennis Keith
You must be logged in to comment