runnable php script on ruby