require ruby snippet