From 0b167dd863c9d6795a3af1066afe16994a69ba16 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 3 Apr 2006 02:46:22 +0000 Subject: Show tag properly in about git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/builtin/rails_info/rails/info.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties') diff --git a/railties/builtin/rails_info/rails/info.rb b/railties/builtin/rails_info/rails/info.rb index 29261143e9..89c2ce6eee 100644 --- a/railties/builtin/rails_info/rails/info.rb +++ b/railties/builtin/rails_info/rails/info.rb @@ -36,7 +36,7 @@ module Rails begin Dir[File.join(rails_vendor_root, 'REVISION_*')].first.scan(/_(\d+)$/).first.first rescue - Dir[File.join(rails_vendor_root, 'TAG_*')].first.scan(/_(\w+)$/).first.first rescue 'unknown' + Dir[File.join(rails_vendor_root, 'TAG_*')].first.scan(/_(.+)$/).first.first rescue 'unknown' end end end -- cgit v1.2.3