Switch to secure GitHub URLs and update gems