Fixes issue where AssetSync’s Config class assumes Rails.root is defined. 

It resolves the following middleman-sync issue:

https://github.com/karlfreeman/middleman-sync/issues/18

Note: If Rails is undefined, it assumes you’re not using YAML configuration.