setup locale stuff and gems