Okay, you did one dangerous (but perfectly OK, if you know what you're doing) thing, and one pointless (if less risky) thing. You are not to install the SDK repo on a device, because it contains some packages that conflict with packages that half your system depends on; that is, packages which you can install, but your system will never boot again. Red pill, though, was unnecessary; since libruby depended on libssl0, it should have been pulled in automatically (now that you added the SDK repo) when you tried libruby or rubybox again, so you don't need to be able to manually select it. I'd recommend going back to blue-pill; anything you need red-pill for is, imho, better done with dpkg/apt-get on the command line, because they give more useful feedback about what they're doing, anyway. As for the SDK repo, generally it should be disabled when you're not trying to install particular software from it.