There might be some compatibility issues or edge cases that the Ruby LSP server hasn't fully addressed.
Test with a an older, more stable, Ruby version and see if the rename functionality works correctly. This can help isolate whether the issue is specific to your version of Ruby.
I recommend you to install a Ruby version manager, If you haven't already, to easily switch between Ruby versions.
You can try these:
rbenv
RVM