Ensure that ledej directory exists before setting ruby version