install redmine 2.0, when rake generate_secret_token, an error appear..
Added by Steven Wong over 12 years ago
installing redmine 2.0, when I rake generate_secret_token, an error occured.
the error information is :
C:\Test_PRJ\redmine-2.0>rake generate_secret_token
rake aborted!
undefined method `log_path' for #<Rails::Application::Configuration:0x3e41368>
(See full trace by running task with --trace)
C:\Test_PRJ\redmine-2.0>rake generate_secret_token --trace
rake aborted!
undefined method `log_path' for #<Rails::Application::Configuration:0x3e41128>
C:/Test_PRJ/redmine-2.0/config/application.rb:55
(eval):13
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original
_require'
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
C:/Test_PRJ/redmine-2.0/Rakefile:5
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `lo
ad'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `lo
ad_rakefile'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:501:in `r
aw_load_rakefile'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:82:in `lo
ad_rakefile'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `s
tandard_exception_handling'
anyone has solution?
Replies (3)
RE: install redmine 2.0, when rake generate_secret_token, an error appear.. - Added by Steven Wong over 12 years ago
my environment is
Windows 2003
mysql 5.5.X
- actionmailer (3.2.3)
- actionpack (3.2.3)
- activemodel (3.2.3)
- activerecord (3.2.3)
- activeresource (3.2.3)
- activesupport (3.2.3)
- arel (3.0.2)
- builder (3.0.0)
- bundler (1.1.3)
- cgi_multipart_eof_fix (2.5.0)
- coderay (1.0.6)
- erubis (2.7.0)
- fastercsv (1.5.4)
- gem_plugin (0.2.3)
- hike (1.2.1)
- i18n (0.6.0)
- journey (1.0.3)
- json (1.7.3)
- mail (2.4.4)
- metaclass (0.0.1)
- mime-types (1.18)
- mocha (0.11.4)
- mongrel (1.1.5)
- multi_json (1.3.5)
- mysql (2.8.1)
- net-ldap (0.3.1)
- pg (0.13.2)
- polyglot (0.3.3)
- prototype-rails (3.2.1)
- rack (1.4.1)
- rack-cache (1.2)
- rack-openid (1.3.1)
- rack-ssl (1.3.2)
- rack-test (0.6.1)
- rails (3.2.3)
- railties (3.2.3)
- rake (0.9.2.2)
- rdoc (3.12)
- rmagick (2.13.1)
- ruby-openid (2.1.8)
- shoulda (2.11.3)
- sprockets (2.1.3)
- sqlite3 (1.3.6)
- thor (0.14.6)
- tilt (1.3.3)
- treetop (1.4.10)
- tzinfo (0.3.33)
RE: install redmine 2.0, when rake generate_secret_token, an error appear.. - Added by Etienne Massip over 12 years ago
Must be some incorrect syntax in your config/additional_environment.rb
file.
RE: install redmine 2.0, when rake generate_secret_token, an error appear.. - Added by Steven Wong over 12 years ago
thanks.
I comment the additional_environment.rb file and it's OK/