After rails new bundle install could be broken if you don't have any installed bundler version.
bundle install
Remove the created directory and try gem install bundler first then run your rails new command again.
gem install bundler
rails new