ruby pgj