Skip to content

Commit ca69875

Browse files
committed
Add rvmrc template.
1 parent 6eaaca9 commit ca69875

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

templates/default/rvmrc.erb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# rvm configuration
2+
#
3+
# Generated by Chef for <%= node[:fqdn] %>
4+
# Local modifications will be overwritten.
5+
#
6+
# Setup default configuration for rvm.
7+
# If an rvm install exists in the home directory, don't load this.'
8+
if [[ ! -s "$HOME/.rvm/scripts/rvm" ]]; then
9+
umask g+w
10+
export rvm_selfcontained=0
11+
export rvm_prefix="/usr/local/"
12+
fi
13+
<% unless @lines.nil? -%>
14+
15+
<%= @lines %>
16+
<% end -%>

0 commit comments

Comments
 (0)