We need to navigate to the iOS cucumber sample's folder, than execute the iOS cucumber test.
cd ~/Documents/appium-master/sample-code/examples/ruby/cucumber_ios cucumber