make sure rails engine exists

Can you please merge this in so we can use griddler outside of rails projects?  Thanks!
This won't be true unless we've required `rails/engine` first.