make sure rails engine exists

Can you please merge this in so we can use griddler outside of rails projects?  Thanks!
Do you need this line? I think it should work if you only change `lib/griddler.rb`.