added ruby version support