Skip to content

Instantly share code, notes, and snippets.

@junaruga
Created October 19, 2021 15:25
Show Gist options
  • Save junaruga/f411d422624bc0c462d59e4973e952b3 to your computer and use it in GitHub Desktop.
Save junaruga/f411d422624bc0c462d59e4973e952b3 to your computer and use it in GitHub Desktop.
$ ./test.sh
++ command -v ruby
/usr/local/ruby-2.7.4/bin/ruby
++ ruby -v
ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux]
++ command -v gemirro
/home/jaruga/.gem/ruby/2.7.0/bin/gemirro
++ gemirro --version
gemirro v1.3.0 on ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux]
+++ pwd
++ gemirro init /home/jaruga/git/report-gemirro-bundler-error
Initialized empty mirror in /home/jaruga/git/report-gemirro-bundler-error
++ cp -p fixtures/gems/a/a-0.0.1.gem public/gems/
++ sleep 1
++ gemirro update
I, [2021-10-19T17:23:23.429944 #116031] INFO -- : Fetching specs.4.8.gz on rubygems (https://rubygems.org)
I, [2021-10-19T17:23:25.165487 #116031] INFO -- : Fetching prerelease_specs.4.8.gz on rubygems (https://rubygems.org)
I, [2021-10-19T17:23:27.439813 #116031] INFO -- : Fetching gem2rpm-1.0.1.gem
I, [2021-10-19T17:23:27.439867 #116031] INFO -- : Fetching gem gem2rpm-1.0.1.gem on https://rubygems.org
I, [2021-10-19T17:23:27.476074 #116031] INFO -- : Fetching gem2rpm-1.0.2.gem
I, [2021-10-19T17:23:27.476190 #116031] INFO -- : Fetching gem gem2rpm-1.0.2.gem on https://rubygems.org
++ gemirro index
I, [2021-10-19T17:23:27.762990 #116036] INFO -- : Generating indexes
I, [2021-10-19T17:23:27.763230 #116036] INFO -- : [1/3]: Processing a-0.0.1.gem
I, [2021-10-19T17:23:27.780115 #116036] INFO -- : [2/3]: Processing gem2rpm-1.0.1.gem
I, [2021-10-19T17:23:27.781688 #116036] INFO -- : [3/3]: Processing gem2rpm-1.0.2.gem
I, [2021-10-19T17:23:27.786357 #116036] INFO -- : Download from source: specs.4.8
I, [2021-10-19T17:23:27.895791 #116036] INFO -- : Download from source: specs.4.8.gz
I, [2021-10-19T17:23:33.945972 #116036] INFO -- : Download from source: latest_specs.4.8
I, [2021-10-19T17:23:33.966930 #116036] INFO -- : Download from source: latest_specs.4.8.gz
I, [2021-10-19T17:23:35.426934 #116036] INFO -- : Download from source: prerelease_specs.4.8
I, [2021-10-19T17:23:35.449931 #116036] INFO -- : Download from source: prerelease_specs.4.8.gz
++ gemirro list
a: (0.0.1)
gem2rpm: (1.0.1, 1.0.2)
++ pkill gemirro
++ sleep 1
2021-10-19 17:23:36 +0200 Stopping ...
++ gemirro server --start
Starting...
done! (PID is 116047)
++ sleep 1
2021-10-19 17:23:37 +0200 Thin web server (v1.8.1 codename Infinite Smoothie)
2021-10-19 17:23:37 +0200 Maximum connections set to 1024
2021-10-19 17:23:37 +0200 Listening on localhost:8801, CTRL+C to stop
+++ cat gemirro.pid
++ echo 'pid: 116047'
pid: 116047
++ gemirro server --status
gemirro is running
++ bundle install --standalone
Fetching gem metadata from http://127.0.0.1:8801/..
Could not find gem 'a' in rubygems repository http://127.0.0.1:8801/ or installed locally.
The source does not contain any versions of 'a'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment