small medium large xlarge

Generic-user-small
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.

Thanks

Dennis Keith

Generic-user-small
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” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

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