diff --git a/app/views/admin/info.rhtml b/app/views/admin/info.rhtml
index 4777a151..81db03e2 100644
--- a/app/views/admin/info.rhtml
+++ b/app/views/admin/info.rhtml
@@ -1,6 +1,6 @@
<%=l(:label_information_plural)%>
-<%=l(:field_version)%>: <%= RDM_APP_NAME %> <%= RDM_APP_VERSION %>
+<%=l(:field_version)%>: redMine <%= Redmine::VERSION %>
<%=l(:label_environment)%>:
diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml
index f4d45f02..77d84d7f 100644
--- a/app/views/layouts/base.rhtml
+++ b/app/views/layouts/base.rhtml
@@ -135,7 +135,7 @@
diff --git a/config/environment.rb b/config/environment.rb
index 3edc93ed..90cdb831 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -59,25 +59,6 @@ Rails::Initializer.run do |config|
config.action_mailer.delivery_method = :smtp
end
-# Add new inflection rules using the following format
-# (all these examples are active by default):
-# Inflector.inflections do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-
-# IMPORTANT !!! DO NOT MODIFY PARAMETERS HERE
-# Instead, rename config_custom.example.rb to config_custom.rb
-# and set your own configuration in that file
-# Parameters defined in config_custom.rb override those defined below
-
-# application name
-RDM_APP_NAME = "redMine"
-# application version
-RDM_APP_VERSION = "0.4.1"
-
ActiveRecord::Errors.default_error_messages = {
:inclusion => "activerecord_error_inclusion",
:exclusion => "activerecord_error_exclusion",
diff --git a/lib/redmine.rb b/lib/redmine.rb
new file mode 100644
index 00000000..4787b7fc
--- /dev/null
+++ b/lib/redmine.rb
@@ -0,0 +1,11 @@
+module Redmine
+ module VERSION #:nodoc:
+ MAJOR = 0
+ MINOR = 4
+ TINY = 2
+
+ STRING= [MAJOR, MINOR, TINY].join('.')
+
+ def self.to_s; STRING end
+ end
+end
\ No newline at end of file