aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby/ruby.post-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'main/ruby/ruby.post-upgrade')
-rw-r--r--main/ruby/ruby.post-upgrade17
1 files changed, 17 insertions, 0 deletions
diff --git a/main/ruby/ruby.post-upgrade b/main/ruby/ruby.post-upgrade
new file mode 100644
index 0000000000..6cba787e69
--- /dev/null
+++ b/main/ruby/ruby.post-upgrade
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+ver_new="$1"
+ver_old="$2"
+
+if [ "$(apk version -t "$ver_old" "2.5.0-r0")" = "<" ]; then
+ cat >&2 <<-EOF
+ *
+ * In Ruby 2.5 more parts of the stdlib has been splitted into standalone
+ * gems, yet still installed with Ruby by default. We have moved some of
+ * them into separate subpackages. If you don't know which subpackages you
+ * need, you may install meta-package "ruby-full".
+ *
+ EOF
+fi
+
+exit 0