Long build times

20:04:30.977 Installing ruby 3.3.4
20:04:31.363 ==> Downloading ruby-3.3.4.tar.gz...
20:04:31.369 -> curl -q -fL -o ruby-3.3.4.tar.gz https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.4.tar.gz
20:04:31.382 % Total % Received % Xferd Average Speed Time Time Time Current
20:04:31.382 Dload Upload Total Spent Left Speed
20:04:32.020
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 21.0M 100 21.0M 0 0 33.0M 0 --:--:-- --:--:-- --:--:-- 33.0M
20:04:32.882 ==> Installing ruby-3.3.4...
20:04:32.944 -> ./configure "--prefix=$HOME/.asdf/installs/ruby/3.3.4" --enable-shared --with-ext=openssl,psych,+
20:05:22.532 -> make -j 8
20:08:22.770 -> make install
20:09:00.552 ==> Installed ruby-3.3.4 to /opt/buildhome/.asdf/installs/ruby/3.3.4
20:04:30.977 Installing ruby 3.3.4
20:04:31.363 ==> Downloading ruby-3.3.4.tar.gz...
20:04:31.369 -> curl -q -fL -o ruby-3.3.4.tar.gz https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.4.tar.gz
20:04:31.382 % Total % Received % Xferd Average Speed Time Time Time Current
20:04:31.382 Dload Upload Total Spent Left Speed
20:04:32.020
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 21.0M 100 21.0M 0 0 33.0M 0 --:--:-- --:--:-- --:--:-- 33.0M
20:04:32.882 ==> Installing ruby-3.3.4...
20:04:32.944 -> ./configure "--prefix=$HOME/.asdf/installs/ruby/3.3.4" --enable-shared --with-ext=openssl,psych,+
20:05:22.532 -> make -j 8
20:08:22.770 -> make install
20:09:00.552 ==> Installed ruby-3.3.4 to /opt/buildhome/.asdf/installs/ruby/3.3.4
It appears that every time I deploy its building ruby? I just migrated from github pages & builds there were only taking about 15s and they now take >5 min on cf pages. I have build caching enabled already. Is there anything that I can do to speed these up? pages.dev link: varun7654-github-io.pages.dev / dacubeking.com account id: f5dbfc5cf299cd799bf49f258675f82b
10 Replies
Walshy
Walshy3w ago
ruby should be pre-installed, shouldn't neeed to reinstall each time and shouldn't take minutes regardless -- is the issue still happening?
DaCubeKing
DaCubeKing3w ago
I haven’t deployed in a few days, but I haven’t resolved it yet
DaCubeKing
DaCubeKing3w ago
Gist
cf-log
GitHub Gist: instantly share code, notes, and snippets.
Walshy
Walshy3w ago
Hmm it's detecting ruby in your environment Do you have a .ruby-version file or RUBY_VERSION env var?
DaCubeKing
DaCubeKing2w ago
a .ruby-version file
DaCubeKing
DaCubeKing2w ago
GitHub
GitHub - varun7654/varun7654.github.io: My personal website!
My personal website! Contribute to varun7654/varun7654.github.io development by creating an account on GitHub.
Walshy
Walshy2w ago
yeah so makes sense it's installing ruby. Why it takes so long though, not sure.
DaCubeKing
DaCubeKing2w ago
is it possible that specific version isn’t pre compiled or something?
DaCubeKing
DaCubeKing2w ago
I’ll give it a try later today! looks like this worked
Want results from more Discord servers?
Add your server