summaryrefslogtreecommitdiff
path: root/pcr/rbenv/rbenv.install
diff options
context:
space:
mode:
authorAurelien Desbrieres <aurelien@hackers.camp>2015-03-10 14:47:05 +0100
committerAurelien Desbrieres <aurelien@hackers.camp>2015-03-10 14:47:05 +0100
commit40cc1c546fb48ceba14336089b2dc5b789b21821 (patch)
tree4ab9b3bb1747db77c04248c7589911a3e76bf106 /pcr/rbenv/rbenv.install
parent3b99b8aa01cb3086c1053386d7de7ab6161eef56 (diff)
downloadabslibre-40cc1c546fb48ceba14336089b2dc5b789b21821.tar.gz
abslibre-40cc1c546fb48ceba14336089b2dc5b789b21821.tar.bz2
abslibre-40cc1c546fb48ceba14336089b2dc5b789b21821.zip
Simple Ruby version manager
Diffstat (limited to 'pcr/rbenv/rbenv.install')
-rw-r--r--pcr/rbenv/rbenv.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/pcr/rbenv/rbenv.install b/pcr/rbenv/rbenv.install
new file mode 100644
index 000000000..49685824d
--- /dev/null
+++ b/pcr/rbenv/rbenv.install
@@ -0,0 +1,10 @@
+post_install() {
+ echo 'Your shell must be initialized before rbenv will function correctly.'
+ echo 'Run the following, and consider adding it to your ~/.bashrc:'
+ echo ' eval "$(rbenv init -)"'
+}
+
+post_remove() {
+ echo 'Remove the following from your ~/.bashrc, if present:'
+ echo ' eval "$(rbenv init -)"'
+}