Displaying 20 results from an estimated 1000 matches similar to: "Maintaining and securing the "Perfect Rails/Debian/Lighttpd Stack""
2006 May 13
8
Which Linux flavor for a Rails server?
Hi folks,
I''m a linux noob, and I''m trying to pick a distro for my rails server. I
don''t want to start a flame-war about linux distros! I''m interested in the
best distribution for these criteria:
1 - Simplicity of getting ruby and rails set-up (gem updates)
2 - Stability (it is a server, after all)
3 - Support resources (community, and as a fall-back, paid
2006 Feb 02
1
FYI lighttpd 1.4.9 has problems running with rails out-of-the-box
In case this helps anyone I recently finished setting up a Debian server
closely following Ezra''s excellent guidance @
http://brainspl.at/rails_stack.html.
I used newer libraries in some cases (and mysql 5.0) and everything worked
great until the end when lighttpd wouldn''t start. I finally figured out
that Lighty 1.4.9 has a problem working with rails out-of-the-box. See
2006 Feb 07
14
Production Server That Just Works?
Hi,
Love Rails...
I''m looking for a Production Quality Server that brings the same ease of
use as Rails does to web development.
I''ve tried TextDrive, and never got it to work. I''m sure there are good
reasons why it didn''t work but they are beyond me. I''ve contacted tech
support there several times, and it seems that there are so many setups
that
2006 Jan 09
9
Noob, installing rails on a goDaddy virtual server?
Hi,
I''m completely new to all of this. Not even certain this is an
appropriate forum for an installation question.
I''m just about to plunk down some money to get a virtual server. In
looking over the list of isp''s elsewhere on this site, goDaddy isn''t
mentioned - probably because they don''t offer rails as a standard
distribution. There are some
2006 Apr 12
4
rails stack on debian
I am putting a rails stack on a debian linux box. Ezra did a great job with
his tutorial <http://brainspl.at/rails_stack.html>
What I am in doubt is what is recommended / common practise to install stuff
which is not availble yet with apt-get (eg. ruby 1.8.4, postgresql 8.1,
lighttpd).
the options I played with (=> and the conclusion):
compiling from source (get source straight from
2005 Dec 28
3
problems with lighty on linux
I''m trying to get our app running on Lighty... I followed Ezra''s
instructions: http://brainspl.at/pages/rails_stack... Currently the app
runs fine with webrick, but with lighty I get 404 errors on everything.
I found if I don''t edit the lighttpd.conf file to use absolute paths, it
works fine. But this is not good for production because I need to run it
with the -d
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 Feb 24
8
RoR meets .net *cringe*
It was a miserable failure for us. Your best bet is to run on Linux.
> 1. Has anyone done any benchmarks with it? Is there any reason this
> couldn''t be viable for production loads? (feel free to speculate if
you
> haven''t)
When it finally worked, after two weeks of trial and error (and we can''t
reproduce it again) it performs poorly under IIS. It looks
2006 Apr 03
11
Rails VPS Business Hosting
Greetings,
Does anyone have experience with Rails VPS hosting? I''m basically
looking for a hosting reseller option so I can have control of my
clients domains and hosting. I''m looking for something easy to use;
although I like learning it all, and am learning a lot, I am most
definitely not a command line linux user type as of yet.
The one that I''ve looked at
2006 Jan 16
42
Linux Suggestions
I''m fairly new to Ruby & Rails and I come from a stricly M$ background. I''m
trying to move into the world of open source, but I don''t have a good roadmap.
I''m starting to develop a Rails-based product and I want to have the option to
distribute it to non-hosted customers. So I''ve said all that to say this... I
want to learn how to setup linux and
2006 May 18
9
Possible solutions to txtdrive process killing for cpu usage
Hi,
I''ve just deployed a basic ecommerce site on textdrive.com. The
application has been stress tested on our local development machines and
appears to be running fine (no memory leaks).
However, on textdrive the fcgi processes are being killed after just a
few requests apparently because of cpu usage (The log says the processes
exceeds 17% average cpu usage in the last few minutes)
2006 May 01
5
Why Does Ruby on Debian Blow? (Was: Mongrel 3.15,
I had no problems.
It pretty much boils down to three steps:
1) Install Ruby via deb.
2) Install ruby gems using the instructions for installing ruby gems.
3) Install rails and everything else via gems.
browse the following write-up:
http://brainspl.at/rails_stack.html
Follow the instructions for installing the Ruby deb, and a few others.
(You can do it all in one line)
Then follow the
2006 Feb 26
28
A Follow up to my fedora question: Favorite Flavor Of Linux?
Than my question is this? Now that I have switchtowerized and migrate
enabled my app I can start down a new path if need be on a different
OS as the base of the system. We have already tried CentOS and found
it to have more issues than those mentioned about fedora and through
it away faster than one could shake a stick at. Here are our
requirements for a stage/dev box and production:
2006 Feb 17
8
Atom
Any plans for using Atom with rails. I saw the "Typo" project is
using MoveableType, Blogger, ... but not Atom.
It seems Atom is not part of ActionWebService.
Has anyone done any work with Atom and Rails ?
Thanks for your answers,
Gaspard
2006 Jan 02
5
How to use MySQL sum() to get total of column?
Easy one: Let''s say I have a table called ''employees'' with a column
called salaries, how can I add Employee.salaries_total to the model?
Thanks!
--
Posted via http://www.ruby-forum.com/.
2005 Dec 22
1
Lighttpd/rails deployment error
I have been trying to get Lighttpd working.... we have been using
webrick, but want to move to a production quality web server. I
followed the instructions found here :
http://brainspl.at/pages/rails_stack
We are developing on windows and deploying to Fedora Linux. We''re using
rails 1.0. The build actually happens on the windows box and using ant
transfers the code to the Linux box.
2005 Dec 17
9
How to clear sessions with cron?
Anyone got a quick code snippet I can add to my crontab? Since Rails
doesn''t do any housekeeping, my /tmp directory just keeps getting fatter
and fatter. I found this useless snippet in the Agile book:
find /tmp/ -name ''ruby_sess*'' -ctime +12h -delete
Fedora Linux complains about the ''h'' in 12h, then if you remove the ''h''
he
2009 Aug 07
2
create separate plots by factors
Hello,
I am attempting to create several plots based on "site" (~300 total)
and am having trouble with the code. I simply want to create a plot
using the code, plot(year, peak), for the following dataset. I would
like for each site to be plotted on a separate page and the plots
saved in a directory. Would a "foreach" loop work? I tried a "by"
statement, but
2006 Mar 01
3
Security issue: a user can fill cache with random urls
Say your app responds to : store/show/3 and caching is enable at the
store controller level.
A route says : map.connect ''store/:action/:id'', :controller => ''store''
All the following urls will be processed and cached (the cache
filling with ''page not found'' messages) !
store/foo/bar
store/show/090934298234897342
2006 Jun 09
18
Is IRB the ruby console ?
I''m running script/console but keep getting the message that irb.bat is not
recognized as an internal or external command, operable program or batch
file.
If it means anything I am running instant rails. I can invoke irb straight
forward.
TIA
Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: