make sure rails engine exists

Can you please merge this in so we can use griddler outside of rails projects?  Thanks!
@anazar