Refactor slide and bump ruby version