Install redmine 1.1.2 on Centos 5.6 VPS?

Added by Van Nam Nguyen almost 11 years ago

Hi everybody,
I have read and followed the wiki page for install redmine on Centos5 but not success.
I use Webbrick to test on VPS, receive this error:

Processing WelcomeController#index (for 113.190.141.223 at 2011-04-23 11:54:17)
[GET]
Parameters: {"action"=>"index", "controller"=>"welcome"}
Rendering template within layouts/base
Rendering welcome/index

ActionView::TemplateError (undefined local variable or method `csrf_meta_tag' fo
r #<ActionView::Base:0xb66758c0>) on line #8 of app/views/layouts/base.rhtml:
5: <title><%=h html_title ></title>
6: <meta name="description" content="<
= Redmine::Info.app_name >" />
7: <meta name="keywords" content="issue,bug,tracker" />
8: <
= csrf_meta_tag >
9: <
= favicon >
10: <
= stylesheet_link_tag 'application', :media => 'all' >
11: <
= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>

app/views/layouts/base.rhtml:8:in `_run_rhtml_app47views47layouts47base46rht
ml'
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering /opt/redmine/public/500.html (500 Internal Server Error).

My environment is:
RubyGems Environment:
- RUBYGEMS VERSION: 1.5.2
- RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/local/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /usr/local/lib/ruby/gems/1.8
- /root/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
And my gem list:
  • LOCAL GEMS ***

abstract (1.0.0)
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
arel (2.0.9)
builder (2.1.2)
bundler (1.0.12)
coderay (0.9.7)
daemon_controller (0.2.6)
erubis (2.6.6)
fastthread (1.0.7)
gem_plugin (0.2.3)
hoe (2.9.4)
i18n (0.4.2)
mail (2.2.17)
mime-types (1.16)
mysql (2.8.1)
polyglot (0.3.1)
rack (1.0.1)
rack-mount (0.6.14)
rack-test (0.5.7)
rails (2.3.5)
rake (0.8.7)
RedCloth (4.2.7)
rubygems-update (1.5.2)
rubytree (0.5.2)
thor (0.14.6)
tmail (1.2.7.1)
treetop (1.4.9)
tzinfo (0.3.26)
v (0.1.1)
Anybody who success installed please help!

Replies (1)

(1-1/1)