pdf ruby compile and link change