move installing gems to the end of loading project files