Displaying 20 results from an estimated 10000 matches similar to: "Beware of a bug of WEBrick"
2007 Oct 05
11
Session handling busted on Oracle
Hi,
Ruby 1.8.6 (one-click)
Camping 1.5
I''d submit this as a bug, but the tracker says I''m forbidden, so here
you go.
The first problem is that the sql to create the sessions table is
broken. This is what it tried to send:
CREATE TABLE sessions (
id NUMBER(38) NOT NULL PRIMARY KEY (38), --> Problem here
hashid VARCHAR2(32),
created_at DATE,
ivars CLOB DEFAULT
2007 Nov 06
5
textarea fails on rows attribute
Hi,
Camping 1.5.180
Ruby 1.8.6
It looks like Camping is choking on the ''rows'' attribute for input tags:
input(:name => ''cuid'', :type => ''text'', :size => 10, :rows => 3)
That will fail with:
Markaby::InvalidXhtmlError no attribute `rows'' on input elements:
2006 May 24
7
OCI8::Cursor (Name Error) in HP-UX 11.11 error
Hi
I have looked at google about this error as well as in ruby on rails
forums, but I can not specifically locate the exact problem and the
solution for it.
Basically, I successfully installed ruby 1.8.4 on HP-UX 11.11 with rails
gem.
But unfortunately whenever I try to create a test application by using
"rails testapp", I am getting the follwing errror:
$ rails testapp
2006 Jun 27
9
Mongrel, sit!, good god! -- said Rails core.
Oh well, needed a good subject, sounds funny enough?
http://dev.rubyonrails.org/ticket/5475
Add "automatic" mongrel support to script/server
Status: closed, commited in rev #4486.
That is good news, right?
Ok, back to work, enoguh relax for me ;-)
--
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of
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 Apr 21
8
web services and dealing with before_filter
Hi all,
I''ve got a Rails app with a ApplicationController that looks like this:
class ApplicationController < ActionController::Base
before_filter :authorize, :except => :login
def authorize
unless session[:user]
flash[:notice] = "Please log in"
session[:jumpto] = request.parameters
redirect_to :controller =>
2007 Mar 15
2
WEBrick freezes overnight
Each morning when I return to work, I find that my WEBrick server has
stopped working. The process is still running, but when I try to
connect to it with a web browser, the browser doesn''t get any response
back. Usually when this happens I cannot control-c the process to
shut it down, and not even "kill" works-- I have to get rid of it with
kill -9. I then restart it and it
2011 Aug 15
3
- WEBrick server refuses to launch
Running Ruby 1.8.7, Rails 3.0.7 on a Windows 7 machine - tried going
through an upgrade to Ruby 1.9.2 over the weekend, but ran into
issues, so have since gone back to 1.8.7. After restoring my app and
re-installing all of the gems, the application finally launches with
rails s:
=> Booting WEBrick
=> Rails 3.0.7 application starting in development on http://0.0.0.0:3000
=> Call with -d
2006 Sep 06
7
Error on Windows and FreeBSD
First off Windows, because actually what I appear to be getting is a
Rails error which only occurs when I use Mongrel, using Webrick I do not
get this error.
I start Mongrel using:
mongrel_rails start
I have mongrel, win32-services and mongrel-service gems installed even
through Im not using mongrel as a service at the moment.
The whole application works apart from one action. The error I get
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"
2006 Jan 14
19
Stopping WEBrick?
Is there any way to request WEBrick to shutdown besides hitting CTRL-C
at the console?
I''m looking for, perhaps, a script/shutdown command, or perhaps a
special URL that will request WEBrick to die.
It can be a command run in a different shell, or, as I said, a special
URL.
Anyone?
Tom Harris
Cisco Systems
--
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 May 03
2
WEBrick initialisation error
I am new to Ruby so I thought the best way to get into it would be to
follow the ONLamp "Rolling with Ruby on Rails" intro. I followed the
instructions to the letter and everything work just great, very
impressive:-).
A couple of days later when I went back to it I got the following
message when trying to start the WEBrick server.
U:\RoRProjects\cookbook>ruby script\server
=>
2006 May 04
2
WEBrick initialisation problem
I am new to Ruby so I thought the best way to get into it would be to
follow the ONLamp "Rolling with Ruby on Rails" intro. I followed the
instructions to the letter and everything work just great, very
impressive:-).
A couple of days later when I went back to it I got the following
message when trying to start the WEBrick server.
U:\RoRProjects\cookbook>ruby script\server =>
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
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 16
2
WEBrick and OS X 10.4.5 problems?
Has anyone who is running OS X 10.4.5 and the security patches
thereafter noticed that WEBrick is no longer functioning? I have a
machine at school that I believe to be patched with 10.4.5 but not
with the latest security patch and WEBrick seems to run fine for it.
However, on my machine at home I can''t get WEBrick to successfully
run even freshly generated apps.
For both
2006 Jul 01
5
how can i set the default protocol of WEBrick to https?
On my server, stunnel is running to accept HTTPS (port 443) connection
from clients and redirect them to localhost:80. And on port 80 of my
server, WEBrick is running to accept HTTP connection.
In such situation, WEBrick generates URLs beginning with ''http://'',
not with ''https://''. So one can access to ''https://myserver/'', but
when he click on
2005 Oct 14
1
Detecting Webrick // determining application "root" directory
Is there a way to detect Webrick at runtime? I''ve
noticed a couple of differences between my dev
environment (Webrick) and the production environment
(Apache 2/FastCGI):
* stream must be false in send_file with webrick
* pwd is different
- Webrick: It''s where you run ruby
script/server from
- Apache: It''s the public directory
... unless someone
2005 May 14
4
Problems with custom service and webrick
Hi all,
Windows XP Pro
Ruby 1.8.2
I''m having a couple of problems with the following
service. The first issue is that the code in
service_start doesn''t seem to fire off. The second
problem is that any attempt to do ''require "webrick"''
within webrick_daemon.rb causes the service to fail on
start.
Any ideas?
# webrickctl.rb