rvmrc can be overridden by .rvm.local as well as .rvm_custom [ci skip]
This commit is contained in:
parent
26fab27d34
commit
6113b62161
2 changed files with 4 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -19,6 +19,7 @@ vendor/bundle/*
|
|||
vendor/cache/*
|
||||
config/database.yml
|
||||
.rvmrc_custom
|
||||
.rvmrc.local
|
||||
|
||||
#Mailing list stuff
|
||||
config/email_offset
|
||||
|
|
|
|||
4
.rvmrc
4
.rvmrc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue