Fixing a failing railtie test by using the ENV variable to specify a
particular controller to search for in rake routes.
Merge pull request #10809 from wangjohn/fix_failing_railtie_test

Fixing a failing railtie test by wrapping the command inside of sh -c