Displaying 20 results from an estimated 20000 matches similar to: "Webrick can not support such a request/response?"
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
2005 Oct 06
5
webrick seen only on local machine
I am running the webrick server (/script/server) and I would like to be
able to view the application from any browser. However, I can only see
my application from a browser opened up on the localhost. When I use
any other browser it times out. I have already modified the following
line in the /script/server file (I''ve tried the numeric ip address also)
so that it is the real ip
2006 Mar 04
16
Unacceptibly slow.
I currently have a fairly simple Rails application running on FreeBSD
under Apache 1.3 and normal CGI, and the performance I''m getting is
alarmingly poor. I realize CGI or WebBrick are quite a bit slower than
FastCGI, and I''ll probably use one of those instead when I have the
time. However, I''m just curious if CGI is really supposed to be that
slow, or if
2006 Feb 11
5
Strange messages in "congratulations" mode
Hi All..
First off, I thought I''d let you know that im UBER new at ruby, so what
im asking you may have a really simple answer...
Anyway, i just started using RoR and i''ve set it up on OSX, running
Apache2.
It all goes fine and dandy, I get the "Welcome aboard" page to say that
its all setup and running ok, but when I click on "About your
applications
2006 Mar 31
35
Frustrated with RoR environment splintering
Why isnt the RoR community focusing on robust and scalable mod_perl style of
Apache environment, rather then splintering all over the place with
lighthttp, mongrel, WEBrick, SCGI, fcgi, etc???
Its frustrating as someone who is trying to migrate to RoR.
Its very unlikely I would ever get a contract to work on any webserver
except Apache, so it would seem logicaly to focus all our efforts to
2006 Jan 31
11
Mongrel HTTP Library 0.2.0 (Fast And RubyForgified)
Hi Everyone,
I''m happy to announce the 0.2.0 release of Mongrel -- the fastest
HTTP 1.1 library Ruby has yet.
http://mongrel.rubyforge.org/ -- ruby docs lame page.
http://rubyforge.org/projects/mongrel/ -- project page.
Special thanks to Tom Copland for setting up my RubyForge goodness,
and to Why for kicking in time to get the Camping examples up to snuff.
This release should
2006 Mar 22
8
Premature end of script headers: dispatch.cgi
Hi
I am running ruby 1.8.4 and rails 1.0.0 with Apache 2. I made a simple
rails application called demo and also created a controller called say
and an action called hello which is working fine using webrick. To run
it under Apache I created a symlink demo1 which is linked to the
demo/public directory. If I run it using www.example.com/demo1 then I
get the "Rails- Welcome Aboard"
2006 Jul 19
3
Rails & Mongrel & Lighttpd > NameError in Production
hallo there,
i got a problem with switching from development- to production-mode in
my rails project. in development everything is working fine, but in
production i keep on getting a NameError...
[quote]
NameError in Appointments/admin/appointment categoryController#list
uninitialized constant Appointments::Admin::AppointmentCategory
2006 Oct 07
4
Concern about stability
Hi,
I am building a test site on my PowerBook (G4) using rails, sqlite3, and
webrick.
While running in development mode, the web server completely halted.
Error message is:
-----------
/usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib/sqlite3/resultset.rb:74:
[BUG] Segmentation fault
ruby 1.8.4 (2005-12-24) [powerpc-darwin8.7.0]
Abort trap
-----------
It looks like sqlite3-ruby module
2006 Sep 25
2
Managing requests for static content in WEBrick and Mongrel
All,
Is there a way to set things up so that requests for static files in
either WEBrick or Mongrel will just cause a regular HTTP request and not
cause the dynamic routing-based invocation to occur?
I had an issue where a request for a missing .js file was causing
another request to be registered, thus blowing away my flash data.
I tried to do this in my routing file, but I don''t
2006 Mar 23
5
[OT] building fastcgi
Following the instructions on Hivelogic, everything works flawlessly on my
Powerbook until I do the ''sudo gem install fcgi.
I''m getting no-definition errors all over the place. Any thoughts how to
resolve this?
Example of errors:
No definition for fcgi_s_accept
No definition for fcgi_s_each
No definition for fcgi_s_each
No definition for fcgi_s_iscgi
--
View this message in
2006 Jul 13
2
application always unresponsive overnight
Hi,
I set up my application on Linux (Suse), running MySQL (which sits on a
different server) and Webrick. It works fine. However, every morning
when I come back to my desk, the application gets unresponsive. If I
simply access http://host:3000 <http://host:3000/> I can see the rails
greeting page (that means Webrick is running fine right?), but if I
access any of pages in the
2005 Dec 28
2
where is WEBrick (daemon mode) output? not in log/server.log
I am running WEBrick in daemon mode (with the -d option). Where is the
server output that would ordinarily be on my console if I ran without
the -d option?
APP_ROOT/log/server.log is empty and not being appended to, though it is
owned by the same user WEBrick is running as and has write permissions.
The only files in APP_ROOT/log are:
development.log
production.log
server.log
test.log
Where
2006 Mar 03
1
starting webrick from ruby (tar2rubyscript.rb)
I am using tar2rubyscript to package up a rails application and run it
as one file from the server.
If you run script/server and have lighttpd install it will start lighty
instead of webrick. So, thanks to Erik Veenstra''s suggestion, I add
ARGV.unshift("webrick") to the init.rb file to force webrick to start:
ARGV.unshift("webrick")
load "script/server"
2005 Mar 02
3
App behaves differently on Apache and Webrick
When running on the Webrick server (script/server), my app works fine.
When running on Apache 2.0.52, I get the dreaded ''unitialized constant
Merge'' error. Merge is the name of my model, the controller is
MergesController.
The deadline looms, any help appreciated!
Thanks!
Regards,
JJ
2006 Feb 10
2
Sudden Strange Webrick Error: Errno::ECONNABORTED
Hello,
I''ve been developing an application (on Windows), and everything was
going pretty well, but I suddenly began getting this weird error back
from Webrick after submitting something through ajax, and only through
ajax. I''m submitting a form through ajax, and it is being process
properly - with all the interaction with the database happening
without problem. The response
2006 Mar 21
3
Do module source code changes require reboot of WEBrick?
Assume that I refactor some code into a module and "require it into" my
controller.
Do I then need to restart my WEBrick server each time that I change the
module?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2006 Jun 23
2
WEBrick hangs with OCI8?
Has anyone experienced "hangs" with the WEBrick/OCI8 combination?
The sequence of actions I perform to consistently get WEBrick to hang is:
1. start WEBrick
2. list a table form my Oracle 10g DB
3. startup sqlplus and update a few records in the table
4. go back to my browser and reload the table
Here none of the chances I made directly to the table are reflected
in the listing.
2006 Feb 19
5
Memory use: WEBrick vs Apache
Hello,
>From purely a memory consumption standpoint, is it generally more
efficient to run a simple Rails app using WEBrick alongside a separate
apache installation or to run Rails under FCGI and use Apache to bridge
to the Web?
I have looked through lots of docs and old forum posts. Most seem to
center on just getting Apache+Rails running, or on speed.
I am really not concerned about my
2008 Jul 21
2
webrick needs 80 seconds for starting
ruby script/console webrick
after 23 seconds:
=> Booting WEBrick...
after 78 seconds:
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2008-07-21 08:07:17] INFO WEBrick 1.3.1
[2008-07-21 08:07:17] INFO ruby 1.8.6 (2007-09-24) [i386-mswin32]
[2008-07-21 08:07:17] INFO WEBrick::HTTPServer#start: pid=4664
port=3000