Skip to content

Commit f75838c

Browse files
committed
change to only update ruby-build
1 parent 2a48693 commit f75838c

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

appveyor-linux-binary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ install:
5252
- sh: "mvn --version"
5353

5454
- sh: "source ${HOME}/venv${PYTHON_VERSION}/bin/activate"
55-
- sh: "git clone https://github.com/rbenv/rbenv.git ~/.rbenv && git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build && alias rbenv='~/.rbenv/bin/rbenv'"
55+
- sh: "git -C ~/.rbenv/plugins/ruby-build pull"
5656
- sh: "rbenv install 3.3.7"
5757
- sh: "rbenv install 3.4.7"
5858
- sh: "rbenv install 3.2.7"

appveyor-ubuntu.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ for:
453453

454454
test_script:
455455
# Install Ruby for Ruby build tests
456-
- sh: "git clone https://github.com/rbenv/rbenv.git ~/.rbenv && git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build && alias rbenv='~/.rbenv/bin/rbenv'"
456+
- sh: "git -C ~/.rbenv/plugins/ruby-build pull"
457457
- sh: "rbenv install 3.3.7"
458458
- sh: "rbenv install 3.4.7"
459459
- sh: "rbenv install 3.2.7"
@@ -475,7 +475,7 @@ for:
475475

476476
test_script:
477477
# Install Ruby for Ruby ARM64 build tests
478-
- sh: "git clone https://github.com/rbenv/rbenv.git ~/.rbenv && git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build && alias rbenv='~/.rbenv/bin/rbenv'"
478+
- sh: "git -C ~/.rbenv/plugins/ruby-build pull"
479479
- sh: "rbenv install 3.3.7"
480480
- sh: "rbenv install 3.4.7"
481481
- sh: "rbenv install 3.2.7"
@@ -521,7 +521,7 @@ for:
521521

522522
test_script:
523523
# Install Ruby for Ruby sync tests
524-
- sh: "git clone https://github.com/rbenv/rbenv.git ~/.rbenv && git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build && alias rbenv='~/.rbenv/bin/rbenv'"
524+
- sh: "git -C ~/.rbenv/plugins/ruby-build pull"
525525
- sh: "rbenv install 3.3.7"
526526
- sh: "rbenv install 3.4.7"
527527
- sh: "rbenv install 3.2.7"
@@ -568,7 +568,7 @@ for:
568568

569569
test_script:
570570
# Install Ruby for Ruby validation and other tests
571-
- sh: "git clone https://github.com/rbenv/rbenv.git ~/.rbenv && git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build && alias rbenv='~/.rbenv/bin/rbenv'"
571+
- sh: "git -C ~/.rbenv/plugins/ruby-build pull"
572572
- sh: "rbenv install 3.3.7"
573573
- sh: "rbenv install 3.4.7"
574574
- sh: "rbenv install 3.2.7"

0 commit comments

Comments
 (0)