bundler-and-platforms's People
bundler-and-platforms's Issues
Logs
~/Downloads/temp
$ mkdir bundler-ruby-platform
~/Downloads/temp
$ cd bundler-ruby-platform
~/Downloads/temp/bundler-ruby-platform
$ git init
Initialized empty Git repository in /Users/dentarg/Downloads/temp/bundler-ruby-platform/.git/
~/Downloads/temp/bundler-ruby-platform main
$ bundle init
Writing new Gemfile to /Users/dentarg/Downloads/temp/bundler-ruby-platform/Gemfile
~/Downloads/temp/bundler-ruby-platform main*
$ bundle
The Gemfile specifies no dependencies
Resolving dependencies...
Bundle complete! 0 Gemfile dependencies, 1 gem now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
~/Downloads/temp/bundler-ruby-platform main*
$ lsa
total 16
drwxr-xr-x@ 5 dentarg staff 160B Feb 20 12:09 ./
drwxr-xr-x 19 dentarg staff 608B Feb 20 12:08 ../
drwxr-xr-x@ 9 dentarg staff 288B Feb 20 12:09 .git/
-rw-r--r--@ 1 dentarg staff 76B Feb 20 12:09 Gemfile
-rw-r--r--@ 1 dentarg staff 118B Feb 20 12:09 Gemfile.lock
~/Downloads/temp/bundler-ruby-platform main*
$
~/Downloads/temp/bundler-ruby-platform main*
$ rm Gemfile.lock
~/Downloads/temp/bundler-ruby-platform main*
$
~/Downloads/temp/bundler-ruby-platform main*
$ bundle add rack
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
~/Downloads/temp/bundler-ruby-platform main*
$ bundle lock --add-platform x86_64-linux
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Writing lockfile to /Users/dentarg/Downloads/temp/bundler-ruby-platform/Gemfile.lock
~/Downloads/temp/bundler-ruby-platform main*
$ bundle lock --remove-platform arm64-darwin-23
Writing lockfile to /Users/dentarg/Downloads/temp/bundler-ruby-platform/Gemfile.lock
~/Downloads/temp/bundler-ruby-platform main*
$ git st
On branch main
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
Gemfile
Gemfile.lock
nothing added to commit but untracked files present (use "git add" to track)
~/Downloads/temp/bundler-ruby-platform main*
$ git add .
~/Downloads/temp/bundler-ruby-platform main*
$
~/Downloads/temp/bundler-ruby-platform main*
$ git st
On branch main
No commits yet
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: Gemfile
new file: Gemfile.lock
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: Gemfile
~/Downloads/temp/bundler-ruby-platform main*
$ git diff
diff --git a/Gemfile b/Gemfile
index 89a4461..20016bc 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,6 +2,4 @@
source "https://rubygems.org"
-# gem "rails"
-
gem "rack", "~> 3.0"
~/Downloads/temp/bundler-ruby-platform main*
$ git add .
~/Downloads/temp/bundler-ruby-platform main*
$
~/Downloads/temp/bundler-ruby-platform main*
$ git st
On branch main
No commits yet
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: Gemfile
new file: Gemfile.lock
~/Downloads/temp/bundler-ruby-platform main*
$ git dc
diff --git a/Gemfile b/Gemfile
new file mode 100644
index 0000000..20016bc
--- /dev/null
+++ b/Gemfile
@@ -0,0 +1,5 @@
+# frozen_string_literal: true
+
+source "https://rubygems.org"
+
+gem "rack", "~> 3.0"
diff --git a/Gemfile.lock b/Gemfile.lock
new file mode 100644
index 0000000..0da0c8f
--- /dev/null
+++ b/Gemfile.lock
@@ -0,0 +1,14 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ rack (3.0.9)
+
+PLATFORMS
+ ruby
+ x86_64-linux
+
+DEPENDENCIES
+ rack (~> 3.0)
+
+BUNDLED WITH
+ 2.5.6
~/Downloads/temp/bundler-ruby-platform main*
$ git ci -m 'init: rack + ruby and x86_64-linux +PLATFORMS'
[main (root-commit) e23dc28] init: rack + ruby and x86_64-linux +PLATFORMS
2 files changed, 19 insertions(+)
create mode 100644 Gemfile
create mode 100644 Gemfile.lock
~/Downloads/temp/bundler-ruby-platform main
$ bundle
Bundle complete! 1 Gemfile dependency, 2 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
~/Downloads/temp/bundler-ruby-platform main
$ git ci --allow-empty -m 'bundle -- nothing happens'
[main f1a9c72] bundle -- nothing happens
~/Downloads/temp/bundler-ruby-platform main
$ bundle add nokogiri
Fetching gem metadata from https://rubygems.org/.......
Resolving dependencies...
Fetching gem metadata from https://rubygems.org/.......
Resolving dependencies...
~/Downloads/temp/bundler-ruby-platform main*
$ git st
On branch main
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: Gemfile
modified: Gemfile.lock
no changes added to commit (use "git add" and/or "git commit -a")
~/Downloads/temp/bundler-ruby-platform main*
$ git diff
diff --git a/Gemfile b/Gemfile
index 20016bc..4dcf8a0 100644
--- a/Gemfile
+++ b/Gemfile
@@ -3,3 +3,5 @@
source "https://rubygems.org"
gem "rack", "~> 3.0"
+
+gem "nokogiri", "~> 1.16"
diff --git a/Gemfile.lock b/Gemfile.lock
index 0da0c8f..9c1a33b 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,6 +1,13 @@
GEM
remote: https://rubygems.org/
specs:
+ mini_portile2 (2.8.5)
+ nokogiri (1.16.2)
+ mini_portile2 (~> 2.8.2)
+ racc (~> 1.4)
+ nokogiri (1.16.2-x86_64-linux)
+ racc (~> 1.4)
+ racc (1.7.3)
rack (3.0.9)
PLATFORMS
@@ -8,6 +15,7 @@ PLATFORMS
x86_64-linux
DEPENDENCIES
+ nokogiri (~> 1.16)
rack (~> 3.0)
BUNDLED WITH
~/Downloads/temp/bundler-ruby-platform main*
$ git ci -m 'bundle add nokogiri' .
[main c9abbae] bundle add nokogiri
2 files changed, 10 insertions(+)
~/Downloads/temp/bundler-ruby-platform main
$ bundle add concurrent-ruby
Fetching gem metadata from https://rubygems.org/.......
Resolving dependencies...
Fetching gem metadata from https://rubygems.org/.......
Resolving dependencies...
~/Downloads/temp/bundler-ruby-platform main*
$ git st
On branch main
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: Gemfile
modified: Gemfile.lock
no changes added to commit (use "git add" and/or "git commit -a")
~/Downloads/temp/bundler-ruby-platform main*
$ git diff
diff --git a/Gemfile b/Gemfile
index 4dcf8a0..ae50dea 100644
--- a/Gemfile
+++ b/Gemfile
@@ -5,3 +5,5 @@ source "https://rubygems.org"
gem "rack", "~> 3.0"
gem "nokogiri", "~> 1.16"
+
+gem "concurrent-ruby", "~> 1.2"
diff --git a/Gemfile.lock b/Gemfile.lock
index 9c1a33b..bac9fde 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,6 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
+ concurrent-ruby (1.2.3)
mini_portile2 (2.8.5)
nokogiri (1.16.2)
mini_portile2 (~> 2.8.2)
@@ -15,6 +16,7 @@ PLATFORMS
x86_64-linux
DEPENDENCIES
+ concurrent-ruby (~> 1.2)
nokogiri (~> 1.16)
rack (~> 3.0)
~/Downloads/temp/bundler-ruby-platform main*
$ git ci -m 'bundle add concurrent-ruby' .
[main 3b4d555] bundle add concurrent-ruby
2 files changed, 4 insertions(+)
~/Downloads/temp/bundler-ruby-platform main
$
~/Downloads/temp/bundler-ruby-platform main
$
~/Downloads/temp/bundler-ruby-platform main
$ git co -b sentry
Switched to a new branch 'sentry'
~/Downloads/temp/bundler-ruby-platform sentry
$ git co main
Switched to branch 'main'
~/Downloads/temp/bundler-ruby-platform main
$ bundle remove concurrent-ruby
Removing gems from /Users/dentarg/Downloads/temp/bundler-ruby-platform/Gemfile
concurrent-ruby (~> 1.2) was removed.
~/Downloads/temp/bundler-ruby-platform main*
$ git st
On branch main
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: Gemfile
modified: Gemfile.lock
no changes added to commit (use "git add" and/or "git commit -a")
~/Downloads/temp/bundler-ruby-platform main*
$ git diff
diff --git a/Gemfile b/Gemfile
index ae50dea..4dcf8a0 100644
--- a/Gemfile
+++ b/Gemfile
@@ -5,5 +5,3 @@ source "https://rubygems.org"
gem "rack", "~> 3.0"
gem "nokogiri", "~> 1.16"
-
-gem "concurrent-ruby", "~> 1.2"
diff --git a/Gemfile.lock b/Gemfile.lock
index bac9fde..9c1a33b 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,7 +1,6 @@
GEM
remote: https://rubygems.org/
specs:
- concurrent-ruby (1.2.3)
mini_portile2 (2.8.5)
nokogiri (1.16.2)
mini_portile2 (~> 2.8.2)
@@ -16,7 +15,6 @@ PLATFORMS
x86_64-linux
DEPENDENCIES
- concurrent-ruby (~> 1.2)
nokogiri (~> 1.16)
rack (~> 3.0)
~/Downloads/temp/bundler-ruby-platform main*
$ git ci -m 'bundle remove concurrent-ruby' .
[main 441e215] bundle remove concurrent-ruby
2 files changed, 4 deletions(-)
~/Downloads/temp/bundler-ruby-platform main
$
~/Downloads/temp/bundler-ruby-platform main
$
~/Downloads/temp/bundler-ruby-platform main
$ git co sentry
Switched to branch 'sentry'
~/Downloads/temp/bundler-ruby-platform sentry
$ git co main
Switched to branch 'main'
~/Downloads/temp/bundler-ruby-platform main
$ git br -D sentry
Deleted branch sentry (was 3b4d555).
~/Downloads/temp/bundler-ruby-platform main
$ git l -10
441e215 (HEAD -> main) 2024-02-20 12:15:48 +0100 bundle remove concurrent-ruby (Patrik Ragnarsson)
3b4d555 2024-02-20 12:14:45 +0100 bundle add concurrent-ruby (Patrik Ragnarsson)
c9abbae 2024-02-20 12:13:16 +0100 bundle add nokogiri (Patrik Ragnarsson)
f1a9c72 2024-02-20 12:12:47 +0100 bundle -- nothing happens (Patrik Ragnarsson)
e23dc28 2024-02-20 12:12:21 +0100 init: rack + ruby and x86_64-linux +PLATFORMS (Patrik Ragnarsson)
~/Downloads/temp/bundler-ruby-platform main
$ git reset --hard 3b4d555
HEAD is now at 3b4d555 bundle add concurrent-ruby
~/Downloads/temp/bundler-ruby-platform main
$ git l -5
3b4d555 (HEAD -> main) 2024-02-20 12:14:45 +0100 bundle add concurrent-ruby (Patrik Ragnarsson)
c9abbae 2024-02-20 12:13:16 +0100 bundle add nokogiri (Patrik Ragnarsson)
f1a9c72 2024-02-20 12:12:47 +0100 bundle -- nothing happens (Patrik Ragnarsson)
e23dc28 2024-02-20 12:12:21 +0100 init: rack + ruby and x86_64-linux +PLATFORMS (Patrik Ragnarsson)
~/Downloads/temp/bundler-ruby-platform main
$ git co -b sentry
Switched to a new branch 'sentry'
~/Downloads/temp/bundler-ruby-platform sentry
$ bundle add sentry-ruby
Fetching gem metadata from https://rubygems.org/.......
Resolving dependencies...
Fetching gem metadata from https://rubygems.org/.......
Resolving dependencies...
~/Downloads/temp/bundler-ruby-platform sentry*
$ git diff
diff --git a/Gemfile b/Gemfile
index ae50dea..e6f05f1 100644
--- a/Gemfile
+++ b/Gemfile
@@ -7,3 +7,5 @@ gem "rack", "~> 3.0"
gem "nokogiri", "~> 1.16"
gem "concurrent-ruby", "~> 1.2"
+
+gem "sentry-ruby", "~> 5.16"
diff --git a/Gemfile.lock b/Gemfile.lock
index bac9fde..95d8dab 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -10,6 +10,8 @@ GEM
racc (~> 1.4)
racc (1.7.3)
rack (3.0.9)
+ sentry-ruby (5.16.1)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
PLATFORMS
1 # frozen_string_literal: true
ruby
@@ -19,6 +21,7 @@ DEPENDENCIES
concurrent-ruby (~> 1.2)
nokogiri (~> 1.16)
rack (~> 3.0)
+ sentry-ruby (~> 5.16)
BUNDLED WITH
2.5.6
~/Downloads/temp/bundler-ruby-platform sentry*
$ git ci -m 'bundle add sentry-ruby' .
[sentry 6d1e126] bundle add sentry-ruby
2 files changed, 5 insertions(+)
~/Downloads/temp/bundler-ruby-platform sentry
$ git co main
Switched to branch 'main'
~/Downloads/temp/bundler-ruby-platform main
$ bundle remove concurrent-ruby
Removing gems from /Users/dentarg/Downloads/temp/bundler-ruby-platform/Gemfile
concurrent-ruby (~> 1.2) was removed.
~/Downloads/temp/bundler-ruby-platform main*
$ git diff
diff --git a/Gemfile b/Gemfile
index ae50dea..4dcf8a0 100644
--- a/Gemfile
+++ b/Gemfile
@@ -5,5 +5,3 @@ source "https://rubygems.org"
gem "rack", "~> 3.0"
gem "nokogiri", "~> 1.16"
-
-gem "concurrent-ruby", "~> 1.2"
diff --git a/Gemfile.lock b/Gemfile.lock
index bac9fde..9c1a33b 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,7 +1,6 @@
GEM
remote: https://rubygems.org/
specs:
- concurrent-ruby (1.2.3)
mini_portile2 (2.8.5)
nokogiri (1.16.2)
mini_portile2 (~> 2.8.2)
@@ -16,7 +15,6 @@ PLATFORMS
x86_64-linux
DEPENDENCIES
- concurrent-ruby (~> 1.2)
nokogiri (~> 1.16)
rack (~> 3.0)
~/Downloads/temp/bundler-ruby-platform main*
$ git ci -m 'bundle remove concurrent-ruby' .
[main 11f2e59] bundle remove concurrent-ruby
2 files changed, 4 deletions(-)
~/Downloads/temp/bundler-ruby-platform main
$ git co sentry
Switched to branch 'sentry'
~/Downloads/temp/bundler-ruby-platform sentry
$ git rebase main
Auto-merging Gemfile
CONFLICT (content): Merge conflict in Gemfile
Auto-merging Gemfile.lock
error: could not apply 6d1e126... bundle add sentry-ruby
hint: Resolve all conflicts manually, mark them as resolved with
hint: "git add/rm <conflicted_files>", then run "git rebase --continue".
hint: You can instead skip this commit: run "git rebase --skip".
hint: To abort and get back to the state before "git rebase", run "git rebase --abort".
1 bundle add sentry-ruby
Could not apply 6d1e126... bundle add sentry-ruby
~/Downloads/temp/bundler-ruby-platform sentry|rebase-i* ≡
$ git diff
diff --cc Gemfile
index 4dcf8a0,e6f05f1..0000000
--- a/Gemfile
+++ b/Gemfile
@@@ -5,3 -5,7 +5,10 @@@ source "https://rubygems.org
gem "rack", "~> 3.0"
gem "nokogiri", "~> 1.16"
++<<<<<<< HEAD
++=======
+
+ gem "concurrent-ruby", "~> 1.2"
+
+ gem "sentry-ruby", "~> 5.16"
++>>>>>>> 6d1e126 (bundle add sentry-ruby)
~/Downloads/temp/bundler-ruby-platform sentry|rebase-i* ≡
$ vim Gemfile
~/Downloads/temp/bundler-ruby-platform sentry|rebase-i* ≡ 15s
$ git st
interactive rebase in progress; onto 11f2e59
Last command done (1 command done):
pick 6d1e126 bundle add sentry-ruby
No commands remaining.
You are currently rebasing branch 'sentry' on '11f2e59'.
(fix conflicts and then run "git rebase --continue")
(use "git rebase --skip" to skip this patch)
(use "git rebase --abort" to check out the original branch)
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
modified: Gemfile.lock
Unmerged paths:
(use "git restore --staged <file>..." to unstage)
(use "git add <file>..." to mark resolution)
both modified: Gemfile
~/Downloads/temp/bundler-ruby-platform sentry|rebase-i* ≡
$ git add Gemfile
~/Downloads/temp/bundler-ruby-platform sentry|rebase-i* ≡
$ git st
interactive rebase in progress; onto 11f2e59
Last command done (1 command done):
pick 6d1e126 bundle add sentry-ruby
No commands remaining.
You are currently rebasing branch 'sentry' on '11f2e59'.
(all conflicts fixed: run "git rebase --continue")
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
modified: Gemfile
modified: Gemfile.lock
~/Downloads/temp/bundler-ruby-platform sentry|rebase-i* ≡
$ git dc
diff --git a/Gemfile b/Gemfile
index 4dcf8a0..3155d72 100644
--- a/Gemfile
+++ b/Gemfile
@@ -5,3 +5,5 @@ source "https://rubygems.org"
gem "rack", "~> 3.0"
gem "nokogiri", "~> 1.16"
+
+gem "sentry-ruby", "~> 5.16"
diff --git a/Gemfile.lock b/Gemfile.lock
index 9c1a33b..c909a23 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -9,6 +9,8 @@ GEM
racc (~> 1.4)
racc (1.7.3)
rack (3.0.9)
+ sentry-ruby (5.16.1)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
PLATFORMS
ruby
@@ -17,6 +19,7 @@ PLATFORMS
DEPENDENCIES
nokogiri (~> 1.16)
rack (~> 3.0)
+ sentry-ruby (~> 5.16)
BUNDLED WITH
2.5.6
~/Downloads/temp/bundler-ruby-platform sentry|rebase-i* ≡
$ git rebase --continue
[detached HEAD 82f3309] bundle add sentry-ruby
2 files changed, 5 insertions(+)
Successfully rebased and updated refs/heads/sentry.
~/Downloads/temp/bundler-ruby-platform sentry
$ bundle
Fetching gem metadata from https://rubygems.org/.......
Resolving dependencies...
Bundle complete! 3 Gemfile dependencies, 6 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
~/Downloads/temp/bundler-ruby-platform sentry*
$ git diff
diff --git a/Gemfile.lock b/Gemfile.lock
index c909a23..6dfb98d 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,11 +1,8 @@
GEM
remote: https://rubygems.org/
specs:
- mini_portile2 (2.8.5)
- nokogiri (1.16.2)
- mini_portile2 (~> 2.8.2)
- racc (~> 1.4)
- nokogiri (1.16.2-x86_64-linux)
+ concurrent-ruby (1.2.3)
+ nokogiri (1.16.2-arm64-darwin)
racc (~> 1.4)
racc (1.7.3)
rack (3.0.9)
@@ -13,8 +10,7 @@ GEM
concurrent-ruby (~> 1.0, >= 1.0.2)
PLATFORMS
- ruby
- x86_64-linux
+ arm64-darwin-23
DEPENDENCIES
nokogiri (~> 1.16)
~/Downloads/temp/bundler-ruby-platform sentry*
$ git remote add origin [email protected]:dentarg/bundler-and-platforms.git
~/Downloads/temp/bundler-ruby-platform sentry*
$ git push origin
Enumerating objects: 18, done.
Counting objects: 100% (18/18), done.
Delta compression using up to 12 threads
Compressing objects: 100% (18/18), done.
Writing objects: 100% (18/18), 1.75 KiB | 1.75 MiB/s, done.
Total 18 (delta 8), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (8/8), done.
To github.com:dentarg/bundler-and-platforms.git
* [new branch] sentry -> sentry
~/Downloads/temp/bundler-ruby-platform sentry*
$ git st
On branch sentry
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: Gemfile.lock
no changes added to commit (use "git add" and/or "git commit -a")
~/Downloads/temp/bundler-ruby-platform sentry*
$ git ci -m 'bundle' .
[sentry e939376] bundle
1 file changed, 3 insertions(+), 7 deletions(-)
~/Downloads/temp/bundler-ruby-platform sentry
$ git push
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 12 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 349 bytes | 349.00 KiB/s, done.
Total 3 (delta 1), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (1/1), completed with 1 local object.
To github.com:dentarg/bundler-and-platforms.git
82f3309..e939376 sentry -> sentry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.