Where Twitter does use Ruby, it deploys the code on a custom, highly optimized version of the Ruby runtime designed to manage memory more efficiently when executing long-running processes.
Giving the consumer an option to scan a QR code which leads them to a website that is not optimized for the device they use to scan it is like sending someone with a broken arm in to get a full-body physical.