summaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-01 11:41:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-01 11:41:15 +0000
commit5b680625c198d8c29031423ab2ac18370b27de07 (patch)
treeb98900482a2d1c4bce7de66dcf59b07a190bfe75 /script
parent6fca0289055fae8f066eeb493a590b35e6f26cc0 (diff)
downloadredmine-5b680625c198d8c29031423ab2ac18370b27de07.tar.gz
redmine-5b680625c198d8c29031423ab2ac18370b27de07.zip
Adds a simple script/about.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9601 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'script')
-rw-r--r--script/about6
1 files changed, 6 insertions, 0 deletions
diff --git a/script/about b/script/about
new file mode 100644
index 000000000..cfec3b406
--- /dev/null
+++ b/script/about
@@ -0,0 +1,6 @@
+#!/usr/bin/env ruby
+
+ENV["RAILS_ENV"] ||= "production"
+require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
+puts
+puts Redmine::Info.environment