Permalink
Browse files

Show tag properly in about

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 802493c commit 0b167dd863c9d6795a3af1066afe16994a69ba16 @dhh dhh committed Apr 3, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/builtin/rails_info/rails/info.rb
@@ -36,7 +36,7 @@ def freeze_edge_version
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

0 comments on commit 0b167dd

Please sign in to comment.