Permalink
Browse files

Correct dk.rb install path behavior. Fixes #80

  • Loading branch information...
1 parent 89ea701 commit 2c6ce794b018ba89db837ff0328306059e26e4c6 @jonforums jonforums committed Aug 6, 2011
Showing with 5 additions and 2 deletions.
  1. +3 −0 History.txt
  2. +2 −2 resources/devkit/dk.rb.erb
View
@@ -6,6 +6,9 @@
* Upgraded DevKit binutils to version 2.21.53
* Upgraded DevKit gdb to version 7.3-2
+* Bugfixes:
+ * Correct DevKit install path search behavior. GH-80
+
=== 2011-07-15
* Enhancements:
@@ -225,8 +225,8 @@ EOT
end
site_ruby = Dir.glob("#{path}/lib/ruby/site_ruby")
- site_rubygems = Dir.glob("#{path}/lib/ruby/site_ruby/**/rubygems")
- core_rubygems = Dir.glob("#{path}/lib/ruby/**/rubygems")
+ site_rubygems = Dir.glob("#{path}/lib/ruby/site_ruby/[1-9].*/rubygems")
+ core_rubygems = Dir.glob("#{path}/lib/ruby/[1-9].*/rubygems")
# Warn and exit if unable to find a RubyGems installation
if site_rubygems.empty? && core_rubygems.empty?

0 comments on commit 2c6ce79

Please sign in to comment.