Permalink
Browse files

Remove now-redundant rvm.el monkey patch

  • Loading branch information...
purcell committed Jan 28, 2012
1 parent 8c74cdf commit 64d1c2fb1c801132b1eb37f63047f897f159a803
Showing with 0 additions and 18 deletions.
  1. +0 −18 init-ruby-mode.el
View
@@ -82,22 +82,4 @@
(add-auto-mode 'yaml-mode "\\.ya?ml$")
-
-;;----------------------------------------------------------------------------
-;; Fix a shortcoming of the outdated rvm.el currently in elpa
-;;----------------------------------------------------------------------------
-(eval-after-load 'rvm
- '(defun rvm--rvmrc-read-version (path-to-rvmrc)
- (with-temp-buffer
- (insert-file-contents path-to-rvmrc)
- (goto-char (point-min))
- (if (re-search-forward
- (concat "rvm\s+\\(use\s+\\)?\\(.+\\)" rvm--gemset-separator "\\([^\s]*\\)") nil t)
- (list (match-string 2) (match-string 3))
- nil))))
-;; Leave a reminder for myself
-(when (package-installed-p 'rvm '(1 1 1))
- (message "TODO: remove rvm workaround"))
-
-
(provide 'init-ruby-mode)

0 comments on commit 64d1c2f

Please sign in to comment.