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
4 Replies
Walshy
Walshy6d 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
DaCubeKing5d ago
I haven’t deployed in a few days, but I haven’t resolved it yet
DaCubeKing
DaCubeKing5d ago
Gist
cf-log
GitHub Gist: instantly share code, notes, and snippets.
Walshy
Walshy5d ago
Hmm it's detecting ruby in your environment Do you have a .ruby-version file or RUBY_VERSION env var?
Want results from more Discord servers?
Add your server