Permalink
Browse files

added reseting 1.9.3 environment, update #2531

  • Loading branch information...
1 parent 1c2a785 commit bdc7b322af106d3eb058b113226eff23c0792cef @mpapis mpapis committed Jan 12, 2014
Showing with 12 additions and 9 deletions.
  1. +1 −0 .travis.yml
  2. +11 −9 rvm-test-rvm1/rvmrc-create_comment_test.sh
View
@@ -12,6 +12,7 @@ before_script:
- "sed -i'' -r -e '/rvm_silence_path_mismatch_check_flag|rvm_project_rvmrc/ d' ~/.rvmrc"
- unset rvm_silence_path_mismatch_check_flag rvm_project_rvmrc
- rvm alias delete default
+ - rvm 1.9.3,1.9.3-p484 do rvm gemset reset_env
- hash -r
- ./install
- rvm-smile
@@ -5,19 +5,21 @@ true TMPDIR:${TMPDIR:=/tmp}:
d=$TMPDIR/test-rvmrc
mkdir $d
pushd $d
-command rvm install 1.9.3
+command rvm install 1.9.3-p484
rvm use 1.8.7 --install
: .rvmrc generated
-rvm rvmrc create 1.9.3
+rvm rvmrc create 1.9.3-p484
[ -f .rvmrc ] # status=0
rvm current # match=/1.8.7/
rvm rvmrc trust .rvmrc
export PS4="+ \${BASH_SOURCE} : \${FUNCNAME[0]:+\${FUNCNAME[0]}()} \${LINENO} > "
set -x
rvm rvmrc load .rvmrc
+# env[GEM_HOME]=/1.9.3-p484$/
+# env[PATH]=/1.9.3-p484/
set +x
-rvm current # match=/1.9.3/
+rvm current # match=/1.9.3-p484/
: .rvmrc with use
rvm_current_rvmrc=""
@@ -28,30 +30,30 @@ rvm current # match=/1.8.7/
: .rvmrc without use
rvm_current_rvmrc=""
-echo "rvm 1.9.3" > .rvmrc
+echo "rvm 1.9.3-p484" > .rvmrc
rvm rvmrc trust
rvm rvmrc load
-rvm current # match=/1.9.3/
+rvm current # match=/1.9.3-p484/
rm -f .rvmrc
rvm use 1.8.7
: .versions.conf
-rvm rvmrc create 1.9.3 .versions.conf
+rvm rvmrc create 1.9.3-p484 .versions.conf
[ -f .versions.conf ] # status=0
rvm current # match=/1.8.7/
rvm rvmrc load .
-rvm current # match=/1.9.3/
+rvm current # match=/1.9.3-p484/
rm -f .versions.conf
rvm use 1.8.7
: .ruby-version
-rvm rvmrc create 1.9.3 .ruby-version
+rvm rvmrc create 1.9.3-p484 .ruby-version
[ -f .ruby-version ] # status=0
rvm current # match=/1.8.7/
rvm rvmrc load .
-rvm current # match=/1.9.3/
+rvm current # match=/1.9.3-p484/
rm -f .ruby-version
rvm use 1.8.7

0 comments on commit bdc7b32

Please sign in to comment.