Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

`rvm gemdir` is the same as Gem.dir, right?

This is supposed to silence the warning I get about not having rvm every time I run the tests on 1.8.
  • Loading branch information...
commit dbe7247410a3644a1148ee29b7020cf6b2a02509 1 parent 6816aae
@drbrain drbrain authored
Showing with 1 addition and 7 deletions.
  1. +1 −7 rakelib/tags.rake
View
8 rakelib/tags.rake
@@ -10,14 +10,8 @@ module Tags
FILES = FileList['**/*.rb', '**/*.js'] + RAKEFILES
FILES.exclude('pkg', 'dist')
- RVM_GEMDIR = begin
- File.join(`rvm gemdir`.strip, "gems")
- rescue Errno::ENOENT
- nil
- end
-
DIR_LIST = ['.']
- DIR_LIST << RVM_GEMDIR if RVM_GEMDIR and File.exists? RVM_GEMDIR
+ DIR_LIST << Gem.dir
DIRS = DIR_LIST.join(" ")
module_function
Please sign in to comment.
Something went wrong with that request. Please try again.