needed only for engine development, fixed circular dependency in rails4 with ruby2