Displaying 20 results from an estimated 50000 matches similar to: "img is downloaded for multi times?"
2006 Aug 01
2
Same <img> is still downloaded for several times in IE
Last time i ask the same question here that if one article item has a
default icon in front of its title,the icon will be downloaded as many
times as the article items displayed in one page in IE. I was suggested
to modify some options under development enviroment,eg:
config.cache_classes and config.action_controller.perform_caching in
development.rb are both set to true.But the problem still
2006 Mar 07
4
Lighty + Mongrel?
On httpd I use ProxyPass and ProxyPassReverse to forward requests to
webrick and mongrel. How can I do this same thing using Lighty and
Mongrel?
Thanks,
Joe
--
Posted via http://www.ruby-forum.com/.
2006 Apr 03
9
Problem with Windows not finding methods
I am running (testing) a noob-tube for myself as follows:
Windows XP SP2
lighty
ruby 1.8.x
rails 1.1
scgi
I have everything working fairly well, but with one minor exception:
the actions that I have defined as follows are not found.
class MytestController < ApplicationController
def index
render_text "Hello Nurse!"
end
def dilbert
render_text "Dilbert
2006 Jul 03
3
Charset issue
I was playing a bit with Mongrel to test it out before using it in
production, but I have an issue with Latin accented letters being all
messed up.
I''ve included the right content-type in the HTML and both Lighty
+Fastcgi and Webrick have no problem with them.
Any tips?
Thanks,
- michele
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 06
13
Internal Server Error - I want to cry
I got a brand new Fedora Core 4 box and was all excited to get Rails
running on it. That was about two days ago. I did all the ''yum install
ruby, etc. etc. etc.'', then ''gem install rails, etc. etc. etc''. I''ve
tried running Rails with httpd (fastcgi and cgi), lighttpd (scgi,
fastcgi, cgi), mongrel, webrick, and even ''ruby
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 Oct 31
3
works with webrick,lighty, not mongrel
Hello,
I''ve been working away to setup mongrel as my production server, however I
am running into an odd problem and am not sure where to investigate for the
answer.
When I run using mongrel_rails start most things work fine, but a I get a
few inexplicable undefined method errors, for example:
undefined method `send_qbxml'' for #<Sync:0x2aaaafa7aa78>
The method is
2006 Mar 09
12
ruby/rails seems to be fubar''d
Hello. Any help the community can give me will be greatly appreciated.
I''ve got the server guys who administer my dedicated server working on
my issue, but it''s been two days and they are still at square one.
Let''s start with the history. I''ve been working with ruby for a month
or so now, and am starting to get pretty comfortable with it. I asked
my host
2006 Jun 27
0
using mongrel on port 80
Just so you know, I''ve read the manual :)
http://mongrel.rubyforge.org/docs/choosing_deployment.html
No php or ssl needed - that is me - simple. So I should be good to go
but thought I''d ask. BTW, sorry about the stupid subject. Listening to
BNL, you know ;)
On 6/27/06, mongrel-users-request at rubyforge.org
<mongrel-users-request at rubyforge.org> wrote:
> Send
2006 May 30
2
Wrong Content-type in RJS with Gettext
Hello,
I am developing an application using Rails and doing l10n with
ruby-gettext.
When I deploy the app on lighttpd, every rjs template is rendered with
Content-type: text/html; charset: UTF-8. I believe it comes from 85th
line of
rails.rb script in ruby-gettext lib. RJS templates are not executed in
this situation.
Hovewer, when I run the app with Webrick, rjs templates are rendered
with:
2006 Mar 24
3
1.1RC and Lighttpd
I started what I thought was going to be a 30 minute project on the
train this morning to write a little timetracker for myself.
Amongst other things (don''t have a model called Task as it conflicts
with Rake at the moment, don''t have a model called Action as it
disappears in the hash when you submit a form :-), I had to use Webrick
as Lighty complained about an unknown
2006 Jul 10
7
problem with starting WEBrick
Following is the error I get when I run ''\root\ ruby script\server''
The server does not starts.
Any help !?!
------------------------------
=> Booting WEBrick...
c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:275:
warning: already initialized constant KNOWN_OPTIONS
c:/ruby/lib/ruby/gems/1.8/gems/xml-simple-1.0.8/lib/xmlsimple.rb:280:
warning: already
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 Feb 12
16
Mongrel 0.3.1 -- New Site/Runs Right
Hello All,
Yet another release of Mongrel proudly pushed out for everyone to review and
comment on. This time though, I''ve done up a little website that''s *way*
better than the plan Rdoc that used to stand in for the site like a
one-legged leper.
* http://mongrel.rubyforge.net/
As you should already know, Mongrel is a fast HTTP server and library for
Ruby partially written in
2007 Feb 07
1
Auto-installing Gems via boot.rb causes errors under Mongrel
Hi,
I''m trying to make my Rails app auto-install my required gems, by
invoking the gem installation in boot.rb. I''ll use the ActionMailer
gem as an example:
...
system "sudo gem install actionmailer --version=1.2.5 -y"
...
Problem is that this fails on the first invocation of Mongrel - it
can''t find the gem. However, if I kill and restart mongrel (with the
2006 Dec 06
17
[SURVEY] MIME types questions for Mongrel 1.0 RC1
I need people to answer a survey super quick for the next little release of Mongrel. Basically, nobody ever agrees on mime types, especially defaults, which is why Mongrel has none and you set your own. Sometimes people just refuse to set their own and want Mongrel to do everything for them, but if that happens then people will complain about the defaults.
Damned if I do, damned if I
2009 Feb 20
1
how can I disable the rails logging in development?
I can''t seem to disable rails logging when using Mongrel. Any fix for
this?
Also unanswered on the Rails forum:
http://www.ruby-forum.com/topic/109422#784596
Re: how can I disable the SQL logging which occurs in develo
Posted by Greg Hauptmann (Guest) on 29.05.2007 21:22
You''re exactly correct Isak! Thanks.
The logging functionality worked as it should in webrick. Is seems
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 Mar 16
4
Mongrel 0.3.11 - speed test ... seems slow
I did some basic speed test on my rails application. I use Centrino
1.7GHz, WinXP.
For simple test I used Apache ''ab -n 100 -c 10 http://url.... ''
Running Mongrel 0.3.11 I got:
development env. = 4.5 req./sec
production env. = 11.5 req./sec
Running Webrick I got:
development env. = 5.7 req./sec
production env. =25.9 req./sec
Does anyone know why the webrick is still faster?