Skip to content

Commit

Permalink
Show tag properly in about
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Apr 3, 2006
1 parent 802493c commit 0b167dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/builtin/rails_info/rails/info.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def freeze_edge_version
begin begin
Dir[File.join(rails_vendor_root, 'REVISION_*')].first.scan(/_(\d+)$/).first.first Dir[File.join(rails_vendor_root, 'REVISION_*')].first.scan(/_(\d+)$/).first.first
rescue 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 end
end end
Expand Down

0 comments on commit 0b167dd

Please sign in to comment.