I''m planning on dipping my toe into the rails ocean after having lurked here for a bit. From what I gather, rails *WILL* work on a straight CGI based server setup, it''s just slow, right? Since this is going to be for my own enlightenment, I just need to confirm(/deny) it''ll work at all right now; I''ll work on the "fast" later.
On Apr 4, 2005, at 2:51 PM, Michael Campbell wrote:> I''m planning on dipping my toe into the rails ocean after having > lurked here for a bit. From what I gather, rails *WILL* work on a > straight CGI based server setup, it''s just slow, right? > > Since this is going to be for my own enlightenment, I just need to > confirm(/deny) it''ll work at all right now; I''ll work on the "fast" > later.It will work, and it will be slow. You might want to consider using webrick for your purposes. It''s as simple as typing ./script/server from your rails app. If you''re going to invest the time getting CGI going you may as well just do FastCGI, otherwise webrick is your man. -Scott _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On Apr 4, 2005 3:01 PM, Scott Barron <scott-HDQKq3lYuGDk1uMJSBkQmQ@public.gmane.org> wrote:> > On Apr 4, 2005, at 2:51 PM, Michael Campbell wrote: > > > I''m planning on dipping my toe into the rails ocean after having > > lurked here for a bit. From what I gather, rails *WILL* work on a > > straight CGI based server setup, it''s just slow, right? > > > > Since this is going to be for my own enlightenment, I just need to > > confirm(/deny) it''ll work at all right now; I''ll work on the "fast" > > later. > > It will work, and it will be slow. You might want to consider using > webrick for your purposes. It''s as simple as typing ./script/server > from your rails app. If you''re going to invest the time getting CGI > going you may as well just do FastCGI, otherwise webrick is your man.Thanks Scott. I''ll look at webrick. The reason I was thinking CGI is that my ISP is a tomcat/java shop, and although they (reluctantly) installed a ruby rpm, no way they''d change any apache configs for me for that. I guess I can play with it at home on a windows XP box though, yes?
On Apr 4, 2005, at 3:08 PM, Michael Campbell wrote:> On Apr 4, 2005 3:01 PM, Scott Barron <scott-HDQKq3lYuGDk1uMJSBkQmQ@public.gmane.org> wrote: >> >> On Apr 4, 2005, at 2:51 PM, Michael Campbell wrote: >> >>> I''m planning on dipping my toe into the rails ocean after having >>> lurked here for a bit. From what I gather, rails *WILL* work on a >>> straight CGI based server setup, it''s just slow, right? >>> >>> Since this is going to be for my own enlightenment, I just need to >>> confirm(/deny) it''ll work at all right now; I''ll work on the "fast" >>> later. >> >> It will work, and it will be slow. You might want to consider using >> webrick for your purposes. It''s as simple as typing ./script/server >> from your rails app. If you''re going to invest the time getting CGI >> going you may as well just do FastCGI, otherwise webrick is your man. > > > Thanks Scott. I''ll look at webrick. The reason I was thinking CGI is > that my ISP is a tomcat/java shop, and although they (reluctantly) > installed a ruby rpm, no way they''d change any apache configs for me > for that. > > I guess I can play with it at home on a windows XP box though, yes?If that''s the case then they may not jive with you running things on random ports, which would leave out webrick for running on their servers. You can test at home on XP, though, using webrick. It''ll be loads faster than upload to ISP/run CGI. -Scott _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Campbell wrote: | Thanks Scott. I''ll look at webrick. The reason I was thinking CGI is | that my ISP is a tomcat/java shop, and although they (reluctantly) | installed a ruby rpm, no way they''d change any apache configs for me | for that. | | I guess I can play with it at home on a windows XP box though, yes? yes, or if you have ssh access to your ISP, you could set up lighttpd and fastcgi to run under your own user and a high port number. If you develop at home, webrick is your friend. - -- David Morton Maia Mailguard server side anti-spam/anti-virus solution: http://www.maiamailguard.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCUZQOSIxC85HZHLMRAtJcAJ4xrqRZmzEtFkRFtpHsL0o1wLB9ygCfRLnR KK9c6ifLHOWSIYW224+SBP4=Shz2 -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Apr 4, 2005, at 11:51 AM, Michael Campbell wrote:> I''m planning on dipping my toe into the rails ocean after having > lurked here for a bit. From what I gather, rails *WILL* work on a > straight CGI based server setup, it''s just slow, right? > > Since this is going to be for my own enlightenment, I just need to > confirm(/deny) it''ll work at all right now; I''ll work on the "fast" > later. >Back when we installed out first hieraki, it was just copied from David''s install and I was "shocked" to see wrath# grep RewriteBase /home/davidhh/applications/hieraki/public/.htaccess RewriteBase /dispatch.cgi And I''ve always thought http://manuals.rubyonrails.com/ felt fine when using it. But I do feel a difference between that and http://manuals.textdrive.com/ which is fcgi on lighttpd. - - J -----BEGIN PGP SIGNATURE----- Version: PGP 8.1 iQA/AwUBQlGbn1UyB+ajXkCLEQK5rQCgvP3V8GtiwTKE0JRALnbUDsDhBTQAn3Fe NXtj/Gpbv3+zFFU2r1t19Q9W =x/Gy -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Campbell wrote: | I''m planning on dipping my toe into the rails ocean after having | lurked here for a bit. From what I gather, rails *WILL* work on a | straight CGI based server setup, it''s just slow, right? | | Since this is going to be for my own enlightenment, I just need to | confirm(/deny) it''ll work at all right now; I''ll work on the "fast" | later. Yes, it will, though it turned out to be pretty easy to install lighttpd and fcgi on my linux workstation. I even run lighttpd as my user on a high port, so I didn''t have to remove my existing webserver. - -- David Morton Maia Mailguard server side anti-spam/anti-virus solution: http://www.maiamailguard.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCUoPUSIxC85HZHLMRAorxAJ4oQt1sziiR79FSjbBVKtesToi+igCeONYi XvCpE6bRKwC0WopEmTv8MEo=9+c6 -----END PGP SIGNATURE-----