Open jrep opened 10 years ago
hey @jrep
Thank you for improving rvm.el
. Since I created this project I moved on to rbenv
and https://github.com/senny/rbenv.el . I think your suggested changes are good but I don't have a rvm enabled system anymore to verify the changes. The change looks fundamental and I don't want to break stuff for other users of rvm, that's why I'm hesitant to merge.
/cc @rejeep
I understand your hesitation. Experience suggests that there probably is someone, somewhere, who has become dependent on this misbehavior. And as it happens, this is not urgent for me: I was able to remove the interfering file. So I'm OK if you want to let this drop.
But still: if there's something I could do to increase confidence, I'm happy to do it.
@jrep I recently became the maintainer of this and I think this is a good addition for v2.0. Please see my comments/questions.
(See #45)
RVM does
.rvmrc
, use it; else use.ruby-version
; else useGemfile
In this way, the precedence among files at a given depth is ".rvmrc > .ruby-version > Gemfile", but nearer files of any name win over remoter files of any name.
rvm.el
currently uses different logic:.rvmrc
; if found, use it.ruby-version
; if found, use itGemfile
; use or give upWhere there are several rc files up-tree, of different depths and different types (file names),
rvm
andrvm.el
may choose different settings.This fixes that.