diff script/about @ 1115:433d4f72a19b redmine-2.2

Update to Redmine SVN revision 11137 on 2.2-stable branch
author Chris Cannam
date Mon, 07 Jan 2013 12:01:42 +0000
parents 94944d00e43c
children
line wrap: on
line diff
--- a/script/about	Wed Jun 27 14:54:18 2012 +0100
+++ b/script/about	Mon Jan 07 12:01:42 2013 +0000
@@ -1,6 +1,6 @@
 #!/usr/bin/env ruby
-require File.expand_path('../../config/boot',  __FILE__)
-$LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info"
-require 'commands/about'
 
-Redmine::About.print_plugin_info
+ENV["RAILS_ENV"] ||= "production"
+require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
+puts
+puts Redmine::Info.environment