1 2 3 4 5 6
#!/usr/bin/env ruby ENV["RAILS_ENV"] ||= "production" require File.expand_path(File.dirname(__FILE__) + "/../config/environment") puts puts Redmine::Info.environment