summaryrefslogtreecommitdiff
path: root/system/ruby/ruby.post-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'system/ruby/ruby.post-upgrade')
-rw-r--r--system/ruby/ruby.post-upgrade17
1 files changed, 17 insertions, 0 deletions
diff --git a/system/ruby/ruby.post-upgrade b/system/ruby/ruby.post-upgrade
new file mode 100644
index 000000000..6cba787e6
--- /dev/null
+++ b/system/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