Installation problems
Added by Loong CJ about 14 years ago
Hi
I've manage to run most of the installation steps described in wiki. However, I've come to the last step of starting the server and I got the error listed below. Need some help here. Thanks in advance.
- ruby script/server webrick -e production
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
/home/{uid}/project.my-mac.net/config/initializers/cookie_verification_secret.rb:7: undefined method `cookie_verifier_secret=' for ActionController::Base:Class (NoMethodError)
from /home/{uid}/{urldir}/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking'
from /home/{uid}/{urldir}/vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in `load'
from /home/{uid}/{urldir}/config/../vendor/rails/railties/lib/initializer.rb:622:in `load_application_initializers'
from /home/{uid}/{urldir}/config/../vendor/rails/railties/lib/initializer.rb:621:in `each'
from /home/{uid}/{urldir}/config/../vendor/rails/railties/lib/initializer.rb:621:in `load_application_initializers'
from /home/{uid}/{urldir}/config/../vendor/rails/railties/lib/initializer.rb:176:in `process'
from /home/{uid}/{urldir}/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
from /home/{uid}/{urldir}/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
from /home/{uid}/{urldir}/config/environment.rb:10
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /home/{uid}/{urldir}/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
from /home/{uid}/{urldir}/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
from /home/{uid}/{urldir}/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
from /home/{uid}/{urldir}/vendor/rails/railties/lib/commands/server.rb:84
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from script/server:3
Replies (4)
RE: Installation problems
-
Added by Felix Schäfer about 14 years ago
I wasn't able to find the file config/initializers/cookie_verification_secret.rb
in redmine, what version are you using, and are you sure you downloaded redmine?
RE: Installation problems
-
Added by Loong CJ about 14 years ago
I think it was created in the cookie step. I am using 1.00 and yes, I was downloaded as a tar.gz file.
RE: Installation problems
-
Added by Felix Schäfer about 14 years ago
Non, that shouldn't get created. What rails, ruby, OS, … versions du you have?
RE: Installation problems
-
Added by Loong CJ about 14 years ago
Seems like someone changed the wiki. I was looking at http://www.redmine.org/wiki/redmine/RedmineInstall?version=97 and executed RAILS_ENV=production rake config/initializers/session_store.rb and rake generate_session_store. I guess only one is needed. I cleared everything and restart. It seems to work now. Thanks a lot.
Regards
cj