Displaying 20 results from an estimated 400 matches similar to: "Why not mod_ruby?"
2006 Mar 09
13
Apache or lighttp for Ror/2003server?
160,000 pages
99% static, only minor stuff done in rail (search, contact us, etc.)
windows server 2003
Ror 1.0
Currently 30K Hits /day on IIS.
Apache or Lighttp? Fast_CGI seems kinda slow with a 2003/Apache
configuration.
The only thing I''ll get rid of for sure is IIS.
-Cedric
--
Posted via http://www.ruby-forum.com/.
2005 Mar 06
12
Where to place custom classes?
Hi all,
I am writing a simple shopping cart which will consist of a single
class. There will be no DB table for carts so I do not want to make my
Cart a model. But where do I place my Cart class so that I can access
it in my controllers?
I want to be able do do things like this (for instance in a shop
controller):
def add_to_cart
@session[''cart''].add(article_id, amount)
2006 Aug 23
12
mod_ruby and rails
Can rails run under apache and mod_ruby? How?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
2005 Dec 14
14
Install problems: R-o-R on Debian with mod_ruby
Hello,
I have tried to setup Ruby-on-rails on my debian Linux machine and can
not get it to run. Maybe someone can help.
The following was installed already:
- apache2 2.0.54 (and PHP5)
- Postgresql 8.1
Now, having the ''unstable'' branch in my /etc/apt/sources.list I did:
apt-get install libapache2-mod-ruby
and Apache reports a "mod_ruby/1.2.4 Ruby/1.8.4"
2008 May 02
6
looking for Mod_Ruby and easy Deployment Options? Sign Here
Hi,
http://www.ruby-forum.com/topic/151662#669164
Hi,
Please read more on the above link first, which is available in this
section of Ruby on Rails. It will give you a clear understanding of
Deployment scenario
The Author of that thread and Me too, are frustrated with Lack of Shared
Hosting and Tough Deployment Scenario, since nothing is shaping up.
We do not want to get carried away with
2006 Apr 19
5
Swedish characters problem
Hello,
I''m playing around with Rails and I''m having problems with displaying
swedish characters. This is how far I''ve gotten:
I have a controller...
class MiscController < ApplicationController
def swedish_chars
@chars_to_display = ''???''
end
end
...and a template (swedish_chars.rhtml)
<head>
<title>Test with swedish
2006 Apr 28
1
Where to put localization strings
Hello!
I have a model that validates presence of the attribute title
class Entry < ActiveRecord::Base
validates_presence_of :title
:message => ''empty title is a no no''
end
I also have a test of this valitation.
class EntryTest < Test::Unit::TestCase
fixtures :entries
def test_validate_title
first = entries(1)
first.title = ''''
2005 Aug 03
0
Apache::RailsDispatcher for mod_ruby
Hi,
I wrote Apache::RailsDispatcher to run Rails applications on mod_ruby.
http://blog.shugo.net/articles/2005/08/03/running-rails-on-mod_ruby
Apache::RailsDispatcher can run multiple applications in the same
process. It works like this:
* require loads libraries into the top level, and they are shared
with all applications.
* require_dependency loads libraries into an anonymous
2005 Apr 08
0
switch mod_ruby to fastcgi but still use eruby?
Hello there list-
I have a question I hope someone can answer. I have a Debian server
that currently has mod_ruby and eruby installed and working great for
the last year or so. I also have one rails app working great on this
box. My question is this: I want to switch to fastcgi so i can have
more than one rails app, but there are already many scripts using eruby
with no framework at all just
2006 Jun 07
0
mod_ruby, mod_fcgid performance
anyone ever try to test between mod_ruby and mod_fcgid ?
Artit S.
--
Posted via http://www.ruby-forum.com/.
2006 Apr 04
1
sessions failing on debian apache2 fast_cgi
Hi All,
So I just pushed our rails app to our production server, but I''ve
encountered a number of problems.
Firstly the fast_cgi processes seem to be eating up a hell of a lot of
memory, at times max out our 1gig of RAM. I''ve switched back to cgi for
the moment, but independently of that sessions seem to be failing
intermitently.
The session will hold itself stable for a
2006 Jan 03
2
Rails is slow on Apache !!!
Hi ,
I have rails running on my development machine. I have installed mod_ruby
and set up the httpd.conf file to add handlers for .rb files. But the speed
I get is still slow compared to webrick which is blazingly fast.
I have 2 questions
1. How do I determine if mod_ruby is loaded and is being used to run my ruby
scripts ?
2. Which of these fcgi /mod_ruby is faster ?
Thanks
vivek
--------------
2006 Jun 04
4
eRuby & Rails: Not Compatible
I''m new to Ruby, Rails, and this list. I''ve tried searching for an
answer but it all seems to be over my head. I have all the books but
again they seem to leave me on my own to figure out the stuff that
really matters. Where is the best place to find out the details?
Exactly what are these much celebrated "naming conventions"; i.e. where
do I find an exhaustive
2005 Aug 16
9
Needed - a step by step WAMP installation of Rails
I am finding the installation process for Rails a bit confusing. First
of all I want to use:
Windows 2000
Apache 1.3+
MySQL
The above is accomplished with WAMP5 from wampserver.com
The problem is that there is no complete step-by-step for installation
in this enviroment. The wiki instructions hop around from One-click to
Apache.conf and other items. Installing CGI support for languages on
2005 Mar 02
4
Development without server restart?
I thought that Rails was supposed to allow development of an
application *without* having to restart the webserver? I know this
works in WEBRick ... but this doesn''t seem to be the case in Apache
(linux). Am I missing something here, or does this only work in
webrick?
I suppose one should argue that for development you should just use
webrick, but this wasn''t an option for me
2008 Jan 14
8
What is so hard about Rails deployment?
Recently there has been a lot of fuss about the ease of Rails
deployment. People made various claims, such as "I''ve deployed PHP,
Java, (insert something else here) and Rails. Rails is by far the most
painful." and "Java deployment (with Tomcat) is easier."
I have no experience with Java deployment. But I have a friend who has
worked on several high-end software
2006 Apr 05
11
session error in rails 1.1
I keep getting this error in rails 1.1, does anybody know what it means? My
site will be working fine, i do some more development, get a parse error,
and then all of a sudden the page 404''s with the following error
Session contains objects whose class definition isn''t available
Remember to require the classes for all objects kept in the session.
(Original exception:
2005 Nov 06
11
Ideal Rails / Apache config?
Hi All,
Just about to set up RoR on our server and was wondering what the
ideal setup for RoR is these days? Apache 1? Apache 2? fCgi?
Any guidance would be helpful!
Thanks,
-Adam
2005 Mar 06
2
Recipe Browser 0.4.1
I am please to announce the release of Recipe Browser 0.4.1. This
project (and files) can be located at
http://rubyforge.org/projects/recipe/.
This release brings Recipe Browser up to Rails 0.10, with a handful of
bug fixes. Special thanks to E Gard (x2egard) the newest member to
the project who also happened to do all the work for this release ;).
We would love to hear any questions,
2006 Apr 12
3
Apache 1.3 + remote FastCGI balancing
Cheers,
As I have a lot of stability problems with Lighttpd + FastCGI-Cluster I
wanted to test Apache 1.3 as most of the "big" sites like 43people or
BaseCamp run on it.
Every example I find only talks about lokal FastCGI processes and not
about remote ones and explains how the requests are balanced.
Are there any good examples out there and can Apache1.3/mod_fastcgi load
balance