summaryrefslogtreecommitdiff
path: root/pcr/rbenv/rbenv.install
diff options
context:
space:
mode:
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 -)"'
+}