notmyprivateemail2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Feb-14 12:55 UTC
Can''t get mongrel to run on new installation
Just moved my homegrown GTD-app from one server to another. I''m not completely familiar with the gem system yet but I noticed that "gem install rails -y" for instance didn''t pull in the mongrel gem. I had to add quite a few gems manually before I had anything working at all. Now I''m able to use the app starting it with "./script/server webrick" and it works. When I start it with "./script/server" it comes up but any requests generate the following error: => Booting Mongrel (use ''script/server webrick'' to force WEBrick) => Rails application starting on http://0.0.0.0:3030 => Call with -d to detach => Ctrl-C to shutdown server Running Mongrel server in production mode at 0.0.0.0:3030 Server ready. calling Dispatcher.dispatch uninitialized constant RailsHandler::Dispatcher /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/ dependencies.rb:478:in `const_missing'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/bin/mongrel_rails:75:in `process'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/bin/mongrel_rails:73:in `synchronize'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/bin/mongrel_rails:73:in `process'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:371:in `process_client'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:332:in `initialize'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:331:in `timeout'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:331:in `initialize'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:328:in `initialize'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:328:in `new'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:328:in `initialize'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:328:in `times'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:328:in `initialize'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/bin/mongrel_rails:166:in `new'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/bin/mongrel_rails:166:in `start_mongrel'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/bin/mongrel_rails:181:in `run'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel/command.rb: 183:in `run'' /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/bin/mongrel_rails:224 /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/ dependencies.rb:489:in `load'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/ dependencies.rb:489:in `load'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/ dependencies.rb:489:in `new_constants_in'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/ dependencies.rb:489:in `load'' /usr/lib/ruby/gems/1.8/gems/rails-1.2.1/lib/commands/servers/ mongrel.rb:60 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/ dependencies.rb:496:in `require'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/ dependencies.rb:496:in `new_constants_in'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/ dependencies.rb:496:in `require'' /usr/lib/ruby/gems/1.8/gems/rails-1.2.1/lib/commands/server.rb:39 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' ./script/server:3 Could it be that I''m missing another gem? And if so, which one? alex --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Please check whether you stop your first WEBrick server. This error also come when 1 application is running on the particular port and again if you want to run another application the same port. Jeniffer F. http://firstruby.wordpress.com On 2/14/07, notmyprivateemail2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <notmyprivateemail2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Just moved my homegrown GTD-app from one server to another. > > I''m not completely familiar with the gem system yet but I noticed that > "gem install rails -y" for instance didn''t pull in the mongrel gem. I > had to add quite a few gems manually before I had anything working at > all. Now I''m able to use the app starting it with "./script/server > webrick" and it works. When I start it with "./script/server" it comes > up but any requests generate the following error: > > => Booting Mongrel (use ''script/server webrick'' to force WEBrick) > => Rails application starting on http://0.0.0.0:3030 > => Call with -d to detach > => Ctrl-C to shutdown server > Running Mongrel server in production mode at 0.0.0.0:3030 > Server ready. > calling Dispatcher.dispatch uninitialized constant > RailsHandler::Dispatcher > /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/ > dependencies.rb:478:in `const_missing'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/bin/mongrel_rails:75:in > `process'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/bin/mongrel_rails:73:in > `synchronize'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/bin/mongrel_rails:73:in > `process'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:371:in > `process_client'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:332:in > `initialize'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:331:in > `timeout'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:331:in > `initialize'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:328:in > `initialize'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:328:in `new'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:328:in > `initialize'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:328:in > `times'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel.rb:328:in > `initialize'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/bin/mongrel_rails:166:in > `new'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/bin/mongrel_rails:166:in > `start_mongrel'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/bin/mongrel_rails:181:in > `run'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/lib/mongrel/command.rb: > 183:in `run'' > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.3/bin/mongrel_rails:224 > /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/ > dependencies.rb:489:in `load'' > /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/ > dependencies.rb:489:in `load'' > /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/ > dependencies.rb:489:in `new_constants_in'' > /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/ > dependencies.rb:489:in `load'' > /usr/lib/ruby/gems/1.8/gems/rails-1.2.1/lib/commands/servers/ > mongrel.rb:60 > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require'' > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require'' > /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/ > dependencies.rb:496:in `require'' > /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/ > dependencies.rb:496:in `new_constants_in'' > /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/ > dependencies.rb:496:in `require'' > /usr/lib/ruby/gems/1.8/gems/rails-1.2.1/lib/commands/server.rb:39 > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require'' > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require'' > ./script/server:3 > > Could it be that I''m missing another gem? And if so, which one? > > alex > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
notmyprivateemail2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Feb-15 11:20 UTC
Re: Can''t get mongrel to run on new installation
On Feb 14, 6:18 pm, "jeniffer f" <jeniffer.r...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Please check whether you stop your first WEBrick server. > This error also come when 1 application is running on the particular port > and again if you want to run another application the same port. > > Jeniffer F.http://firstruby.wordpress.com >Tried a couple of other ports. Same thing. alex --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---