similar to: newbie-server bound to 3000, cannot disconnect

Displaying 20 results from an estimated 10000 matches similar to: "newbie-server bound to 3000, cannot disconnect"

2006 Jul 25
6
DRY question (newbie)
Say i want to include the same chunck of text (a menu on a webpage for example) on each page. Is there a method by which I can save the HTML in a text file and call it up later? Is there a better way? I know ruby has "puts" but i can''t use that b/c it does not work with my webhost (dreamhost.com) Any suggestions? -- Posted via http://www.ruby-forum.com/.
2006 Jul 28
2
gem install (Errno::EACCES)
I am finding it impossible to install a gem, and even more impossible to find help. Can anyone PLEASE help? - - - - - - - - - Mason-Kessingers-Computer:~/Desktop/rails/pygmalion masonkessinger$ gem install login_generator Attempting local installation of ''login_generator'' Local gem file not found: login_generator*.gem Attempting remote installation of
2006 Jul 28
5
DREAMHOST SO SLOW
Does anyone know of any fixes to this? Any industry-known tips/tricks? The page loads sometimes take 20-30 seconds. so bad. mk -- Posted via http://www.ruby-forum.com/.
2006 Aug 16
5
too many SESSIONS?
I just notices my app was down, and in the log file were lots of these: No space left on device - ../config/../tmp/sessions//ruby_sess.898b1cf95e14f8e3 So i figured that i had too many sessions. I went through and deleted the sessions and then in a few minutes, the site was back up again. Can anyone explain this? Did I do the right thing? Is there a way I can tell my app to accept more
2005 Mar 09
16
rails on low memory vps
Anyone got any tips for running Rails (w/ either webrick or lighttpd/fcgi) on a VPS with a pretty small amount of memory (like 64MB memory and 64MB swap). Thanks, Joe
2006 Jul 18
13
RANDOM
I am pretty much new at this ROR game and had what I think to be a simple question. I have a set of Sponsors that I would like to be able to select one at random and display in the my html. I have already set up the DB, scaffolded, set index controller and all is working smoothly. I know that I can display them all by doing <% for sponsor in @sponsors %> <%= sponsor.name %>
2006 Jul 04
13
NewBie question
Hi, I m very new to Ruby. I bought a book "Ruby on Rails" and I think I understand some concepts. My question is : Is there a way to not use "Cookies" or "Sessions Variables" to keep some information about the user. I ask this question because I would like to prevent some cases where the user browser won''t accept cookies. I m from Asp 3.0, and I
2006 Jul 25
1
? Password Protection ?
Say I have some directories I want to password protect. sub.web-app.com/cms sub.web-app.com/cms_posts sub.web-app.com/cms_photos sub.web-app.com/cms_news where /cms is a page that allows access(links) to all three other cms pages. - - - Does anyone have any quick advice on how to password protect these areas? Any good online tutorials? Any advice? -- Posted via
2006 Aug 15
5
XML question
Is there a way you can use RoR to create an .xml file? Say I had a DB full of info that I wanted to format and have export as "lorem.xml" inside of a specific directory in my web server? Then, each time I updated the DB it would re-export the file (delete the old, save the new?) -- Posted via http://www.ruby-forum.com/.
2006 Feb 15
5
Lighttpd now works for production. Development is broken?
I''ve finally gotten lighttpd working for my production instance (SUSE 10.0 with SSL). (Had to install the fcgi dev toolkit, the SUSE 10 ruby-fcgi rpm, and the fcgi gem. I''m not positive all 3 were required, but that is what I did.) Now the devel instance of my app is broken. I''m not sure how to fix it. Previously I was using WEBrick for both devel and production.
2006 Feb 01
2
Weird problem with script/server, lighttpd, and FreeBSD
I installed lighttpd from ports on my FreeBSD-5 system last night, wanting to play with that instead of WEBrick for development work. I installed it, and ran script/server, and got this: [minter@carlton discostu]$ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to
2006 Jul 05
5
ok, lightTPD is installed... how do i use it.
i used the hivelogic article to install ruby on rails to my mac: http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger everything works great using the script/server command, but isn''t that still using WEBrick? how do i server my apps with lightTPD? i tried following the instructions given here: http://duncandavidson.com/essay/2005/12/railsonlighty but have had no
2006 Mar 12
5
Webrick and Lighttpd
I just went thru the hivelogic article to get everything installed on my new mac. I then decided to run thru the ADC Rails article. In the article it says to run ''script/server'' which will start lighttpd if installed or webrick if not. When I do it, I get webrick not lighttpd. I followed the hivelogic article word for word and everything else seems to be working fine. Is
2006 Nov 13
3
Lighttpd Problems
Hi everybody, I was using ruby with Lighttpd just fine, and all of a sudden I''m having a problem. I''ve exhausted google - nobody else seems to have this problem. when running script/server, I get: => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach =>
2006 Jan 19
3
lighttpd config on os x
I finally got around to installing lighttpd on my mac for dev work, followed the instructions at http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger When I go into my rails app and type "./script/server" I get the following errors: baggio:~/work/teore pergesu$ ./script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick)
2006 Aug 06
19
Rails *that* slow?
I''m working on my first little rails-application. It''s a rewrite of a gallery-script i once made (in PHP): http://notdotnet.net However - my rails-version is waaay to slow :( http://r.notdotnet.net/ I don''t do any heavy image-processing, I don''t have any killer-algorithms with a time complexity on O(n^n), and I don''t use any major hacks. The only
2006 Apr 24
6
Error starting lighttpd
Hi, I''m getting the following error message when I try to start lighttpd: BEGIN ERROR: $ script/server => Booting lighttpd (use ''script/server webrick'' to force WEBrick) => Rails application started on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server (see config/lighttpd.conf for options) 2006-04-24 03:29:39: (mod_fastcgi.c.1022)
2006 Apr 26
8
script/server lighttpd on Windows
Has anyone been able to get script/server to successfully use lighttpd on a Windows box? When I try to start the server I get: PROBLEM: Lighttpd is not available on your system (or not in your path) So then I add "C:\lighttpd\sbin" to the path for the console session, and it still fails with the same error. If anyone has some success with this I sure would like to know. Webrick
2006 Sep 07
4
Install config: lighttpd dead but pid file exists
I''m trying to run rails on RHED (centos 4) by following this tutorial: http://wiki.rubyonrails.org/rails/pages/RailsOnRHEL and something is gone a bit astray during the install process that is not allowing lighttpd \ apache to run rails on the web. Since i''m running Centos, I should mention I''m NOT running SELinux. As it is, i''m at a total loss as to why
2008 Feb 29
1
Lighttpd & VB.Net HTTPWEBREQUEST
Hi guys/gals, I don''t know if anyone can answer this, and this post may belong in a VB.Net forum, but my question is more for lighttpd. I have a .net app that sends a HTTPWEBREQUEST to the webserver. Then my def saves this hit to a mysql db. In webrick, this works fine, but not in lighttpd. I was wondering if anyone has ever done this or does anyone know if lighttpd does not accept