Not quite sure what you mean. 

In my case I had installed ruby on windows but due to msyql gem support I was unable to pull my posts using the import script. So I thought it made sense write a script in php that would avoid the mysql gem support for windows.