I''ve recently moved to a new system, Mac OS X 10.5, which has Rails and Mongrel installed by default. Yet when I fire up the server with "script/server", Webrick is used instead of Mongrel. And when trying to force the use of Mongrel with "script/server mongrel" I get "PROBLEM: Mongrel is not available on your system (or not in your path)". This is true since Mongrel is installed as a RubyGem, but that was also the case on my previous system, where Mongrel was properly recognized... What am I missing here? Thanks for any help, Sebastian --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 19 Mar 2008, at 16:44, sebastian wrote:> > I''ve recently moved to a new system, Mac OS X 10.5, which has Rails > and Mongrel installed by default. > Yet when I fire up the server with "script/server", Webrick is used > instead of Mongrel. And when trying to force the use of Mongrel with > "script/server mongrel" I get "PROBLEM: Mongrel is not available on > your system (or not in your path)". > This is true since Mongrel is installed as a RubyGem, but that was > also the case on my previous system, where Mongrel was properly > recognized... > What am I missing here? > Thanks for any help, > SebastianIs the $PATH pointing at a ruby other than the one supplied by OS X (ie what does which ruby say ?) Fred --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thanks for replying, Frederick! I use the default ruby install: /usr/bin/ruby But now that you mention it: on my previous machine I used a MacPort install (/opt/local/bin/ruby) What does this tell you? Sebastian On Mar 19, 5:24 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 19 Mar 2008, at 16:44, sebastian wrote: > > > > > I''ve recently moved to a new system, Mac OS X 10.5, which has Rails > > and Mongrel installed by default. > > Yet when I fire up the server with "script/server", Webrick is used > > instead of Mongrel. And when trying to force the use of Mongrel with > > "script/server mongrel" I get "PROBLEM: Mongrel is not available on > > your system (or not in your path)". > > This is true since Mongrel is installed as a RubyGem, but that was > > also the case on my previous system, where Mongrel was properly > > recognized... > > What am I missing here? > > Thanks for any help, > > Sebastian > > Is the $PATH pointing at a ruby other than the one supplied by OS X > (ie what does which ruby say ?) > > Fred--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
sebastian wrote:> I''ve recently moved to a new system, Mac OS X 10.5, which has Rails > and Mongrel installed by default. > Yet when I fire up the server with "script/server", Webrick is used > instead of Mongrel. And when trying to force the use of Mongrel with > "script/server mongrel" I get "PROBLEM: Mongrel is not available on > your system (or not in your path)". > This is true since Mongrel is installed as a RubyGem, but that was > also the case on my previous system, where Mongrel was properly > recognized... > What am I missing here? > Thanks for any help, > Sebastianmaybe uninstall and reinstall mongrel, make sure you''re using the same gem version as the ruby version -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hi, I have the exact same issue here on a fresh new install of Tiger, with RubyOSX. I really think it is a path issue, but I don''t know how to handle it... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
> Yet when I fire up the server with "script/server", Webrick is used > instead ofMongrel. And when trying to force the use ofMongrelwith > "script/servermongrel" I get "PROBLEM:Mongrelis not available on > your system (or not in your path)".Not sure if this will be of any relevance to anyone else having these problems, but the same thing just started happening to me. In my case I''m using capistrano to deploy to a mongrel server and found that having the mongrel.rb file (containing the deploy task overrides for mongrel) in my config directory was what''s causing my problems. I renamed this to capistrano_mongrel.rb and now mongrel is used instead of webrick when running in development mode locally. Rupert --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
$ script/server mongrel => Booting Mongrel (use ''script/server webrick'' to force WEBrick) PROBLEM: Mongrel is not available on your system (or not in your path) Same Issue here, it IS the reason, because the include looks for a certain mongrel.rb thank you rupert! Renaming helped me out. On 28 Mrz., 18:00, rupertV <rup...-Zn9W2Jdoy0ZWk0Htik3J/w@public.gmane.org> wrote:> > Yet when I fire up the server with "script/server", Webrick is used > > instead ofMongrel. And when trying to force the use ofMongrelwith > > "script/servermongrel" I get "PROBLEM:Mongrelis not available on > > your system (or not in your path)". > > Not sure if this will be of any relevance to anyone else having these > problems, but the same thing just started happening to me. In my case > I''m using capistrano to deploy to a mongrel server and found that > having the mongrel.rb file (containing the deploy task overrides for > mongrel) in my config directory was what''s causing my problems. > > I renamed this to capistrano_mongrel.rb and now mongrel is used > instead of webrick when running in development mode locally. > > Rupert--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---