Skip to content

Commit

Permalink
Merge pull request #26 from gaizka/master
Browse files Browse the repository at this point in the history
Although rvm-configuration-file-name was configured, rvm--rvmrc-locate was not using it.
  • Loading branch information
senny committed Jul 14, 2012
2 parents c7ceb21 + cc671df commit 49b9463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rvm.el
Expand Up @@ -294,7 +294,7 @@ If no .rvmrc file is found, the default ruby is used insted."
((equal (expand-file-name path) (expand-file-name "~")) nil)
((equal (expand-file-name path) "/") nil)
((member rvm-configuration-file-name (directory-files path))
(concat (expand-file-name path) "/.rvmrc"))
(concat (expand-file-name path) "/" rvm-configuration-file-name))
(t (rvm--rvmrc-locate (concat (file-name-as-directory path) "..")))))

(defun rvm--rvmrc-read-version (path-to-rvmrc)
Expand Down

0 comments on commit 49b9463

Please sign in to comment.