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

ERROR: While executing gem ... (SocketError) #4323

Open
gcorrel opened this issue Mar 12, 2018 · 1 comment
Open

ERROR: While executing gem ... (SocketError) #4323

gcorrel opened this issue Mar 12, 2018 · 1 comment

Comments

@gcorrel
Copy link

gcorrel commented Mar 12, 2018

Description

Everytime I run gem install bundler, I get;

ERROR: While executing gem ... (SocketError)
getaddrinfo: Name or service not known

Steps to reproduce

  1. ...sudo apt-get install libsqlite3-dev && bundle install | This installed successfully

  2. ...FOLLOWED THIS EXACT STEP
    In your Gemfile or wherever you have specified the gems list and replace source 'https://......' with
    this source 'http://.......' otherwise it will keep on asking Make sure that gem install gem_name__ v
    xxx' succeeds before bundling.`
    Do bundle install

  3. ...Did this as well
    $ multigem update --system
    $ multigem install bundler

And afterwards, I'm no longer able to run msfconsole or ./msfconsole

Expected behavior

I wanted to be able to install and run Metasploit Framework conveniently with armitage

Actual behavior

Debug mode:

Environment info

I have rbenv installed and not RVM

What infos do you need that I provide? PLease, list them. Thanks

@jadrevenge
Copy link

https://github.com/rbenv/rbenv/issues

rbenv is a completely different product from rvm.

reset your Gemfile to the original URL, you will probably find that that fixes 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