Removed environment dependency for pure ruby apps.