main/ruby*: fix dependencies and update to latest possible versions