Defect #10892
closedCannot run Redmine 1.4 in production mode
0%
Description
Hello,
I downloaded the latest Redmine yesterday 5/11/2012 using :
svn co http://redmine.rubyforge.org/svn/branches/1.4-stable redmine-1.4
When I run redmine in production mode, for some reason it is not loading the lib/ directory.
If I do something like :
RAILS_ENV=production rake redmine:load_default_data
the response is :
rake aborted!
uninitialized constant Redmine::DefaultData
Tasks: TOP => redmine:load_default_data
(See full trace by running task with --trace)
Also, when I access the welcome page, I get:
ActionView::TemplateError (uninitialized constant Redmine::Info) on line #6 of app/views/layouts/base.html.erb:
3: <head>
4: <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5: <title><%=h html_title ></title>
6: <meta name="description" content="<= Redmine::Info.app_name >" />
7: <meta name="keywords" content="issue,bug,tracker" />
8: <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />
9: <= csrf_meta_tag %>
org/jruby/RubyModule.java:2642:in `const_missing'
app/views/layouts/base.html.erb:6
org/jruby/RubyKernel.java:2080:in `send'
org/jruby/RubyProc.java:270:in `call'
org/jruby/RubyProc.java:220:in `call'
org/jruby/RubyKernel.java:2076:in `send'
org/jruby/RubyProc.java:270:in `call'
org/jruby/RubyProc.java:220:in `call'
org/jruby/RubyArray.java:1615:in `each'
/Users/jinlee/.rvm/rubies/jruby-1.6.7/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/Users/jinlee/.rvm/rubies/jruby-1.6.7/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/Users/jinlee/.rvm/rubies/jruby-1.6.7/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
org/jruby/RubyProc.java:270:in `call'
org/jruby/RubyProc.java:224:in `call'
Rendering rescues/layout (internal_server_error)
Any insight into this issue would be great. Thank you,
Jin
Updated by Go MAEDA over 9 years ago
- Status changed from New to Closed
- Resolution set to Cant reproduce
Redmine 1.4 is too old now. Closing.