Skip to content

Commit

Permalink
fix maglev-head
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Nov 1, 2011
1 parent 39f7413 commit 7b23d16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/selector
Expand Up @@ -141,8 +141,9 @@ __rvm_select()
arch="$(uname -m)"
fi

if (( ${rvm_head_flag:=0} == 1 ))
if (( ${rvm_head_flag:=0} == 1 )) || [[ "$rvm_ruby_version" == "head" ]]
then
rvm_head_flag=1
rvm_ruby_version="head"
rvm_ruby_repo_url="${rvm_ruby_repo_url:-$(__rvm_db "maglev_repo_url")}"
rvm_ruby_url="${rvm_ruby_repo_url:-$(__rvm_db "maglev_repo_url")}"
Expand Down

0 comments on commit 7b23d16

Please sign in to comment.