Permalink
Browse files

Corrected glob when looking for rbconfig.rb

  • Loading branch information...
1 parent a70582f commit 6e881ac3de0cff06c110dd07fc88c4d0c36cad59 @luislavena luislavena committed Jul 31, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 tasks/bin/cross-ruby.rake
View
2 tasks/bin/cross-ruby.rake
@@ -166,7 +166,7 @@ task 'update-config' do
config = {}
end
- files = Dir.glob("#{USER_HOME}/ruby/**/rbconfig.rb").sort
+ files = Dir.glob("#{USER_HOME}/ruby/*/**/rbconfig.rb").sort
files.each do |rbconfig|
version = rbconfig.match(/.*-(\d.\d.\d)/)[1]

0 comments on commit 6e881ac

Please sign in to comment.