added preliminary rails config support