I know this might sound strange at first, but how difficult would it be to write a plugin or module so webrick could run rails apps via scgi? While webrick seems to do great on it''s own, in my experience it''s been fairly unstable with rails. it consistantly dies on Freebsd under seemingly random conditions and fairly light load, and I''ve tried 4 different freebsd servers using 4.11 and 5.4. The same apps running under apache/lighttpd with fastcgi or scgi work fine. Where I work we have one product and another coming up based on rails. We use them to provide a hosted service, but would also like to offer a distribution that clients can install on their own. The options are growing on a day to day basis, but so far I have not been able to find a solution that will let an end user install a rails app without having to go through considerable pain configuring apache with fastcgi or scgi. If webrick supported scgi then that would be another option for distributing rails apps that you can just unzip and run with the help of a couple included scripts. How much work would this be? The scgi protocol seems simple enough, but I really have no idea how much work it would be to write an scgi handler for webrick. Chris _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
How feasible is using InstantRails for distribution? http://instantrails.rubyforge.org/wiki/wiki.pl It seems to be stable and is extremely easy to setup. Regards Brett On 11/9/05, snacktime <snacktime-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I know this might sound strange at first, but how difficult would it be to > write a plugin or module so webrick could run rails apps via scgi? While > webrick seems to do great on it''s own, in my experience it''s been fairly > unstable with rails. it consistantly dies on Freebsd under seemingly random > conditions and fairly light load, and I''ve tried 4 different freebsd servers > using 4.11 and 5.4. The same apps running under apache/lighttpd with > fastcgi or scgi work fine. > > Where I work we have one product and another coming up based on rails. We > use them to provide a hosted service, but would also like to offer a > distribution that clients can install on their own. The options are growing > on a day to day basis, but so far I have not been able to find a solution > that will let an end user install a rails app without having to go through > considerable pain configuring apache with fastcgi or scgi. If webrick > supported scgi then that would be another option for distributing rails apps > that you can just unzip and run with the help of a couple included scripts. > > How much work would this be? The scgi protocol seems simple enough, but I > really have no idea how much work it would be to write an scgi handler for > webrick. > > Chris > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On 11/9/05, Brett Rogers <brett.a.rogers-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> How feasible is using InstantRails for distribution? > > http://instantrails.rubyforge.org/wiki/wiki.pl > > It seems to be stable and is extremely easy to setup.I plan to use Instant Rails in medium to low volume production sights. Curt
Curt, Instant Rails is awesome. What I should have written was How feasible would it for Chris to implement the project using Instant Rails. Anyway, Thanks and keep up the great work! Regards, Brett On 11/9/05, Curt Hibbs <curt.hibbs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On 11/9/05, Brett Rogers <brett.a.rogers-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > How feasible is using InstantRails for distribution? > > > > http://instantrails.rubyforge.org/wiki/wiki.pl > > > > It seems to be stable and is extremely easy to setup. > > I plan to use Instant Rails in medium to low volume production sights. > > Curt > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
as soon as it''s not just windows only I think it will be great, but right now it''s not something I can use. Chris _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On 11/9/05, snacktime <snacktime-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> as soon as it''s not just windows only I think it will be great, but right > now it''s not something I can use.Yeah... I wish it was cross platform already, too. If only the powers that be would grant my request for 72 hour days! :-) Curt
On 11/9/05, Curt Hibbs <curt.hibbs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On 11/9/05, snacktime <snacktime-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > as soon as it''s not just windows only I think it will be great, but > right > > now it''s not something I can use. > > Yeah... I wish it was cross platform already, too. If only the powers > that be would grant my request for 72 hour days! :-) > >I wasn''t complaining, merely stating the fact that since unix support is mandatory we can''t use instant rails at this point. I see that the latest rails will use lighttpd instead of webrick if available. That could actually solve all my issues. Just include a lighttpd binary and modify the path so that script/server picks up the lighttpd binary that comes with the application. Chris _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails