Fix rails command passthrough on rails 4

Fixes #173