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

"Bundle install" will not install gems from Github #1292

Open
gerardbm opened this issue Feb 11, 2024 · 0 comments
Open

"Bundle install" will not install gems from Github #1292

gerardbm opened this issue Feb 11, 2024 · 0 comments

Comments

@gerardbm
Copy link

I'm using Ruby 3.3.0 and Jekyll 4.3.3, with rbenv 1.2.0-87-ge8b7a27 and bundler 2.5.6.

When I run the command 'bundle install' I get an error.

This: gem "minima", git: "https://github.com/jekyll/minima.git"

Returns this:

Fetching https://github.com/jekyll/minima.git
Git error: command `git fetch --force --quiet
/home/gerard/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/cache/bundler/git/minima-d8055fb07e4e4545ea165517d74efcc422a31353 --depth 1
10124515953527c8990a2de99ae4ddb2a81ffee3` in directory /home/gerard/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/bundler/gems/minima-101245159535 has
failed.

And this: gem "minima", :git => "git://github.com/jekyll/minima.git"

Returns this:

The git source `git://github.com/jekyll/minima.git` uses the `git` protocol, which transmits data without encryption. Disable this warning with `bundle config set --local git.allow_insecure true`, or switch to the `https` protocol to keep your data secure.
Fetching git://github.com/jekyll/minima.git

Retrying `git clone --bare --no-hardlinks --quiet --depth 1 --single-branch -- git://github.com/jekyll/minima.git /home/gerard/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/cache/bundler/git/minima-fb70e785e8f77ebad3d6dcf03ba0925ecdb47b21` due to error (2/4): Bundler::Source::Git::GitCommandError Git error: command `git clone --bare --no-hardlinks --quiet --depth 1 --single-branch -- git://github.com/jekyll/minima.git /home/gerard/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/cache/bundler/git/minima-fb70e785e8f77ebad3d6dcf03ba0925ecdb47b21` in directory /home/gerard/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/cache/bundler/git/minima-fb70e785e8f77ebad3d6dcf03ba0925ecdb47b21 has failed.
fatal: unable to connect to github.com:
github.com[0: 140.82.121.4]: errno=Connection refused
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

1 participant