Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overwrite executable warning when trying to install gem #56

Closed
lacostenycoder opened this issue Nov 29, 2019 · 1 comment
Closed

Overwrite executable warning when trying to install gem #56

lacostenycoder opened this issue Nov 29, 2019 · 1 comment

Comments

@lacostenycoder
Copy link

#11 # Describe the problem
Overwrite executable warning

Steps to reproduce the problem

gem install tty-reader
# or 
gem install tty-prompt

Actual behaviour

I get this warning in the terminal

wisper's executable "console" conflicts with countries
Overwrite the executable? [yN]

# for gem install tty-prompt
Fetching: necromancer-0.5.1.gem (100%)
Successfully installed necromancer-0.5.1
Fetching: equatable-0.6.1.gem (100%)
Successfully installed equatable-0.6.1
Fetching: tty-color-0.5.0.gem (100%)
Successfully installed tty-color-0.5.0
Fetching: pastel-0.7.3.gem (100%)
Successfully installed pastel-0.7.3
wisper's executable "console" conflicts with countries
Overwrite the executable? [yN]  ERROR:  Error installing tty-prompt:
	"console" from wisper conflicts with installed executable from countries

I tried to find out what whisper even is and only found
https://rubygems.org/gems/whisper with no link to any viewable source code or documentation. So what does this even do?

Expected behaviour

Provide information of why I'm overwriting an executable, and what the dependency is even doing.

Describe your environment

  • OS version: MacOS Mojave 10.14.3 (18D109
  • Ruby version: ruby 2.4.1p111
  • TTY version: none, afraid to install until this is resolved.
@piotrmurach
Copy link
Owner

Hi Lance,

Thanks for using tty gem!

This issue is not related to tty and it also isn't related to wisper dependency(btw. the name is wipser and not whisper - https://rubygems.org/gems/wisper). The wisper installation made the error manifests itself but wasn't the reason.

As I searched, I found that the issue is with countries gem, which makes files in bin executable. The countries gem should probably conflict with other gems much earlier. Here is the issue as reported in the countries gem repository. So you need to upgrade your countries gem version and that should remove your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants