Note that there are some explanatory texts on larger screens.

plurals
  1. PORails 3 Apache & Mongrel
    primarykey
    data
    text
    <p>colleagues.</p> <p><strong>Here is what I have:</strong><br> Windows XP<br> Ruby 1.9.2p180 (2011-02-18) [i386-mingw32]<br> Rails 3.1.0<br> Also I have installed mongrel server <code>gem install mongrel -v 1.2.0.pre2 --pre</code> When I do rails s, mongrel starts (everything is ok)</p> <p>But I want to use my RoR application via Apache 2.2, that is installed as service.<br> I decided that best way is to use Apache &amp; Mongrel. Then I have installed mongrel_service <code>gem install mongrel_service</code>, and run mongrel as service <code>mongrel_rails service::install -N efiling_mongrel -c c:\sites\uplodify -p 3000 -e development -a 127.0.0.1</code>. Then I also setuped Apache... </p> <p>When I started Apache as service and Mongrel as service, I see such picture:<br> 1) my ruby proccess uses more than 50% of CPU resource<br> 2) permanent growth log/mongrel.log file size<br> 3) there are such errors in log/mongrel.log: </p> <pre><code>** Starting Mongrel listening at 127.0.0.1:3000 ** Starting Rails with development environment... C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-.1.0/lib/active_support/dependencies.rb:240:in `require': no such file to load -- dispatcher (LoadError) from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-.1.0/lib/active_support/dependencies.rb:240:in `block in require' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-.1.0/lib/active_support/dependencies.rb:223:in `block in load_dependency' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-.1.0/lib/active_support/dependencies.rb:640:in `new_constants_in' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-.1.0/lib/active_support/dependencies.rb:223:in `load_dependency' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-.1.0/lib/active_support/dependencies.rb:240:in `require' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-ingw32/lib/mongrel/rails.rb:148:in `rails' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-ingw32/bin/mongrel_rails:116:in `block (2 levels) in run' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-ingw32/lib/mongrel/configurator.rb:149:in `call' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-ingw32/lib/mongrel/configurator.rb:149:in `listener' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-ingw32/bin/mongrel_rails:102:in `block in run' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-ingw32/lib/mongrel/configurator.rb:50:in `call' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-ingw32/lib/mongrel/configurator.rb:50:in `initialize' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-ingw32/bin/mongrel_rails:86:in `new' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-ingw32/bin/mongrel_rails:86:in `run' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-ingw32/lib/mongrel/command.rb:210:in `run' from C:/Ruby/Ruby192/lib/ruby/gems/1.9.1/gems/mongrel-1.2.0.pre2-x86-ingw32/bin/mongrel_rails:282:in `&lt;top (required)&gt;' from C:/Ruby/Ruby192/bin/mongrel_rails:19:in `load' from C:/Ruby/Ruby192/bin/mongrel_rails:19:in `&lt;main&gt;' </code></pre> <p><strong>Someone have any ideas?</strong></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload