diff --git a/lib/discourse.rb b/lib/discourse.rb index 01b352720..145a15bd1 100644 --- a/lib/discourse.rb +++ b/lib/discourse.rb @@ -105,7 +105,9 @@ module Discourse def self.git_version return $git_version if $git_version - f = Rails.root.to_s + "/lib/version" + + # load the version stamped by the "build:stamp" task + f = Rails.root.to_s + "/config/version" require f if File.exists?("#{f}.rb") begin