rvmrc can be overridden by .rvm.local as well as .rvm_custom [ci skip]

This commit is contained in:
danielgrippi 2012-02-01 09:40:51 -08:00
parent 26fab27d34
commit 6113b62161
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View file

@ -19,6 +19,7 @@ vendor/bundle/*
vendor/cache/*
config/database.yml
.rvmrc_custom
.rvmrc.local
#Mailing list stuff
config/email_offset

4
.rvmrc
View file

@ -1,5 +1,7 @@
#!/bin/bash
if [ -e '.rvmrc_custom' ]; then
if [ -e '.rvmrc.local' ]; then
source .rvmrc.local;
elif [ -e '.rvmrc_custom' ] ; then
source .rvmrc_custom;
else
rvm --create use ruby-1.9.2-p290@diaspora