Project

General

Profile

Not able to run redmine server

Added by deep singh over 14 years ago

Hi,

I'm really impressed by the features of your project. I think its the complete solution for me to have for my project. But i'm not able to install it  on my machine. When i try to run :
ruby script/server webrick -e production

I get following error messages:

=> Booting WEBrick
=> Rails 2.3.2 application starting on http://0.0.0.0:3000
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependenci
es.rb:443:in `load_missing_constant': uninitialized constant ApplicationControll
er (NameError)

from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_suppo
rt/dependencies.rb:80:in `const_missing'
from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_suppo
rt/dependencies.rb:92:in `const_missing'
from C:/apps/redmineps/app/controllers/account_controller.rb:18
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge
m_original_require'
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re
quire'
from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_suppo
rt/dependencies.rb:158:in `require'
from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_suppo
rt/dependencies.rb:265:in `require_or_load_without_engine_additions'
from C:/apps/redmineps/vendor/plugins/engines/lib/engines/rails_extensio
ns/dependencies.rb:124:in `require_or_load'
... 18 levels...
from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:8
4
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `ge
m_original_require'
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `re
quire'

please help me to run it.

Thanks.


Replies (5)

RE: Not able to run redmine server - Added by Eric Davis over 14 years ago

deep singh wrote:

I get following error messages:

=> Booting WEBrick

=> Rails 2.3.2 application starting on http://0.0.0.0:3000

Rails 2.3.2 is not compatible with Redmine. See RedmineInstall for the correct versions to use.

Eric

RE: Not able to run redmine server - Added by Istvan DEMETER over 14 years ago

I'm using redmine with rails 2.3.2 but i need to modify the code.

You need the run

rake rails:update

then comment out/remove the next lines from app/controller/application_controller.rb

  rescue_from CGI::Session::CookieStore::TamperedWithCookie do |exception|
    render :text => 'Your session was invalid and has been reset. Please, reload this page.', :status => 500
  end

I know, that's not so nice, but i can't find other solution for handlind tampered cookies

Cheers!

RE: Not able to run redmine server - Added by Istvan DEMETER over 14 years ago

and also be aware of that the checkbox/hiddenfield combo changes its process order

<%= check_box_tag 'settings[bcc_recipients]', 1, Setting.bcc_recipients? %>
<%= hidden_field_tag 'settings[bcc_recipients]', 0 %>

should be written as
<%= hidden_field_tag 'settings[bcc_recipients]', 0 >
<
= check_box_tag 'settings[bcc_recipients]', 1, Setting.bcc_recipients? %>

See the details here

RE: Not able to run redmine server - Added by Eric Davis over 14 years ago

Istvan DEMETER, thanks you've saved me some time getting Redmine ready for 2.3.

Eric Davis

    (1-5/5)