make sure custom rvmrc works too if you directly cd into a subdir [ci skip]
This commit is contained in:
parent
b021a26674
commit
5ad15974fb
1 changed files with 4 additions and 2 deletions
6
.rvmrc
6
.rvmrc
|
|
@ -1,6 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if [ -e '.rvmrc_custom' ]; then
|
|
||||||
source .rvmrc_custom;
|
root=$(dirname $(readlink -e $BASH_SOURCE))
|
||||||
|
if [ -e "${root}/.rvmrc_custom" ]; then
|
||||||
|
source ${root}/.rvmrc_custom
|
||||||
else
|
else
|
||||||
rvm --create use ree-1.8.7-2011.03@diaspora
|
rvm --create use ree-1.8.7-2011.03@diaspora
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue