How to fix the «bundler's executable "bundle" conflicts with ~/.rbenv/versions/2.4.2/bin/bundle» issue in `techAPJ/install-rails` script?

I have asked this question in the official Discourse forum: How to fix the «bundler’s executable “bundle” conflicts with ~/.rbenv/versions/2.4.2/bin/bundle» issue in the techAPJ/install-rails script?

If I press the Enter key (which, as I understand, should be treated as N), the installation script stops with the failure:

ERROR: Error installing bundler:
“bundle” from bundler conflicts with /home/dfediuk/.rbenv/versions/2.4.2/bin/bundle
failed

The y answer solves the problem.