Fix loading env from non-Rails app