Added Rails dependency, loop to check for pulls