core: note Ruby and RubyGems version in logs