This gem currently supports Ruby 2.0 and above. https://github.com/rails/thor/blob/376e141adb594f3146c57e98151b97a20c93c484/thor.gemspec#L25 https://github.com/rails/thor/blob/376e141adb594f3146c57e98151b97a20c93c484/.github/workflows/tests.yml#L9 At this time, the officially supported Ruby version is 2.7 or later. (2.7 will soon be EOL as well.) https://www.ruby-lang.org/en/downloads/branches/ I am working on a PR for another issue, but it is not compatible with older Ruby. https://github.com/rails/thor/pull/812#issuecomment-1448346323 Thank you.