fix pre-compile errors
set ruby version