Update compile

Try to use .ruby-version instead of a hardcoded one.