require rails before other gems