From d8c97b32dd3c7bacd4e05417a0a5000e4c655505 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 5 Mar 2008 09:01:37 +0000 Subject: [PATCH] Fixes #780: Redmine fails to start with a const_missing error on Redmine::MenuManager::MenuItem::GLoc (occurs when a Redmine plugin is loaded before GLoc). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1187 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/environment.rb | 2 +- lib/redmine/menu_manager.rb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/environment.rb b/config/environment.rb index dced5993e..e203227e6 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -48,7 +48,7 @@ Rails::Initializer.run do |config| :port => 25, :domain => "somenet.foo", :authentication => :login, - :user_name => "redmine", + :user_name => "redmine@somenet.foo", :password => "redmine", } diff --git a/lib/redmine/menu_manager.rb b/lib/redmine/menu_manager.rb index c645b5ce8..af54b41fe 100644 --- a/lib/redmine/menu_manager.rb +++ b/lib/redmine/menu_manager.rb @@ -15,6 +15,8 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +require 'gloc' + module Redmine module MenuManager module MenuController