Date: Sun, 22 Feb 2009 22:11:14 +0000 From: Grzegorz Junka <cv@gjunka.com> To: stas@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: ruby-1.9.1.0_1,1 Message-ID: <49A1CD82.3000905@gjunka.com> In-Reply-To: <49A1CA3E.6000508@poczta.onet.pl> References: <49A1CA3E.6000508@poczta.onet.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I am trying to configure edge versions of rails and passenger on ruby 1.9.1. Passenger fails because of a problem in the Ruby port on FreeBSD. The problem is reproducible in irb19: irb(main):001:0> @pid = fork NotImplementedError: fork() function is unimplemented on this machine from (irb):1:in `fork' from (irb):1 from /usr/local/bin/irb19:12:in `<main>' irb(main):002:0> exit The error in passenger is similar: /root/src/passenger/lib/phusion_passenger/abstract_server.rb:125:in `fork': fork() function is unimplemented on this machine (NotIm plementedError) from /root/src/passenger/lib/phusion_passenger/abstract_server.rb:125:in `start' from /root/src/passenger/lib/phusion_passenger/railz/application_spawner.rb:192:in `start' from /root/src/passenger/lib/phusion_passenger/spawn_manager.rb:260:in `block (2 levels) in spawn_rails_application' from /root/src/passenger/lib/phusion_passenger/abstract_server_collection.rb:121:in `lookup_or_add' from /root/src/passenger/lib/phusion_passenger/spawn_manager.rb:254:in `block in spawn_rails_application' from /root/src/passenger/lib/phusion_passenger/abstract_server_collection.rb:75:in `block in synchronize' from <internal:prelude>:8:in `synchronize' from /root/src/passenger/lib/phusion_passenger/abstract_server_collection.rb:74:in `synchronize' from /root/src/passenger/lib/phusion_passenger/spawn_manager.rb:253:in `spawn_rails_application' from /root/src/passenger/lib/phusion_passenger/spawn_manager.rb:148:in `spawn_application' from /root/src/passenger/lib/phusion_passenger/spawn_manager.rb:285:in `handle_spawn_application' from /root/src/passenger/lib/phusion_passenger/abstract_server.rb:332:in `main_loop' from /root/src/passenger/lib/phusion_passenger/abstract_server.rb:182:in `start_synchronously' from /root/src/passenger/bin/passenger-spawn-server:46:in `<main>' [ pid=36607 file=Hooks.cpp:521 time=2009-02-22 20:37:18.199 ]: Unexpected error in mod_passenger: Cannot spawn application '/home/grzesiu/work': The spawn server has exited unexpectedly. Backtrace: in 'virtual boost::shared_ptr<Passenger::Application::Session> Passenger::ApplicationPoolServer::Client::get(const Passenger:: PoolOptions&)' (ApplicationPoolServer.h:424) in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:408) Is this a known problem? Is there any way of fixing it? Many thanks in advance for any help. Regards Grzegorz Junka
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49A1CD82.3000905>