fix ruby version and revert Gemfile.lock.