Fix gem socket placement and tweak tutorial.