Skip to content

Commit b2b73a0

Browse files
committed
fix: certificate verify failed
Error message as follows: > error: certificate verify failed (unable to get certificate CRL)
1 parent c3fd7b7 commit b2b73a0

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

script/init_environment.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ pre-flight() {
1111
# Installing git package
1212
pacman -S --noconfirm git
1313

14-
# Installing ca-certificates package to avoid SSL issues
15-
pacman -S --noconfirm ca-certificates
16-
update-ca-trust
17-
1814
# Installing openssh package
1915
if [[ -n "${SSH_PRIVATE_KEY}" ]]; then
2016
pacman -S --noconfirm openssh
@@ -41,7 +37,7 @@ pre-flight() {
4137
git config --global --add safe.directory "*"
4238
}
4339

44-
init_ruby() {
40+
init-ruby() {
4541
# Manually specify the language version for C compilation for ruby-build
4642
# to avoid error when building ruby and building ruby extensions.
4743
# C23 by default in GCC15: https://gcc.gnu.org/gcc-15/changes.html#c
@@ -60,4 +56,4 @@ init_ruby() {
6056
ruby -v && bundle version
6157
}
6258

63-
pre-flight && init_ruby
59+
pre-flight && init-ruby

0 commit comments

Comments
 (0)