problem of creating a new project

once it new a project, use this command: rails new demo, and it will
run the "bundle install" command, it takes too long, how to solve it?
this problem appears in ubuntu, when i create a project in windows, no
such problem.