diff options
author | root <root@rshg054.dnsready.net> | 2012-02-26 23:15:00 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-26 23:15:00 +0000 |
commit | f6a79a3f5989efc8db63af942851c56f0c462bb1 (patch) | |
tree | 08bddecba9bbd4fc2c2075bfa2c514f710fcd351 /extra/ruby/ruby.install | |
parent | e4a5730eb358cb0d78bc022204ddccac068c2bf2 (diff) |
Sun Feb 26 23:15:00 UTC 2012
Diffstat (limited to 'extra/ruby/ruby.install')
-rw-r--r-- | extra/ruby/ruby.install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/ruby/ruby.install b/extra/ruby/ruby.install new file mode 100644 index 000000000..f91254084 --- /dev/null +++ b/extra/ruby/ruby.install @@ -0,0 +1,11 @@ +#!/bin/sh + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + if [ "$(vercmp $2 1.9.3_p125)" -lt 0 ]; then + echo 'The default location of gem installs has changed to $HOME/.gem/ruby' + echo 'If you want to install to the system wide location, you must either:' + echo 'edit /etc/gemrc or run gem with the --no-user-install flag.' + fi +} |