# How to fix bundler executable conflicts in the \`techAPJ/install-rails\` script?

**URL:** https://meta.discourse.org/t/how-to-fix-bundler-executable-conflicts-in-the-techapj-install-rails-script/76717
**Category:** Development
**Created:** [12월 24, 2017, 11:37오후 UTC](https://meta.discourse.org/t/how-to-fix-bundler-executable-conflicts-in-the-techapj-install-rails-script/76717 "2017-12-24T23:37:09Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![dmitry\_fedyuk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dmitry_fedyuk/32/293153_2.png) [@dmitry\_fedyuk](https://meta.discourse.org/u/dmitry_fedyuk)
#### Post date: [12월 24, 2017, 11:37오후 UTC](https://meta.discourse.org/t/how-to-fix-bundler-executable-conflicts-in-the-techapj-install-rails-script/76717/1 "2017-12-24T23:37:09Z")

</div>

I run the [`github.com/techAPJ/install-rails`](https://github.com/techAPJ/install-rails) installation script from the «[Beginners Guide to Install Discourse on Ubuntu for Development](https://meta.discourse.org/t/topic/14727)» @techAPJ’s article in the latest stock (unmodified, without any extra packages previously installed) version of Ubuntu Desktop ([16.04.3 LTS](http://releases.ubuntu.com/xenial/)):

```plaintext
bash <(wget -qO- https://raw.githubusercontent.com/techAPJ/install-rails/master/linux)

```

The script leads to the conflict:

 ![01](https://global.discourse-cdn.com/meta/original/3X/4/c/4ce53d805a60effcc6a9cb5ba6c370572d455c41.png)

> Installing Bundler …
> 
> Fetching: bundler-1.16.1.gem (100%)  
> bundler’s executable “bundle” conflicts with /home/dfediuk/.rbenv/versions/2.4.2/bin/bundle  
> Overwrite the executable? [yN]

Should I answer `y`, `N`, or maybe the installation is already in a wrong state?

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [12월 25, 2017, 12:05오전 UTC](https://meta.discourse.org/t/how-to-fix-bundler-executable-conflicts-in-the-techapj-install-rails-script/76717/2 "2017-12-25T00:05:43Z")

</div>

It has been a couple years since I got a “update bundler” prompt. I figured “latest is best” and upgraded bundler.

Unfortunely, at that time, some of what Discourse needed to be in bundler was not in the upgraded bundler. I had to start over and _ignore_ that with a _no_

But “linux” last got a commit a month ago, so I would guess it should be OK to upgrade bundler. Worse case, you will need to start over. Else wait for techAPJ to reply.

[https://github.com/techAPJ/install-rails](https://github.com/techAPJ/install-rails)

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [12월 25, 2017, 4:17오전 UTC](https://meta.discourse.org/t/how-to-fix-bundler-executable-conflicts-in-the-techapj-install-rails-script/76717/3 "2017-12-25T04:17:53Z")

</div>

> [@dmitry\_fedyuk](#):
>
> Should I answer y, N

Answer `y`, it works fine.

---

<div class="post-metadata">

### Author: ![dmitry\_fedyuk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dmitry_fedyuk/32/293153_2.png) [@dmitry\_fedyuk](https://meta.discourse.org/u/dmitry_fedyuk)
#### Post date: [12월 25, 2017, 7:08오전 UTC](https://meta.discourse.org/t/how-to-fix-bundler-executable-conflicts-in-the-techapj-install-rails-script/76717/4 "2017-12-25T07:08:20Z")

</div>

Yes, it solves the problem.
