Displaying 20 results from an estimated 20000 matches similar to: "Maybe useful to someone else"
2006 Apr 20
5
Rails, FCGI, Dreamhost
Is anybody getting acceptable performance with a Rails application on
Dreamhost? By this, I mean response times no greater than 3 seconds, and
no large numbers of FCGI processes that you have to kill manually.
If so, how?
I''ve ended up running a constant ping script (once every ten minutes),
and still have to kill some number of excess dispatch.fcgi processes
every day.
Along with
2006 Jun 21
0
fcgi_watch (reaper replacement for shared servers)
fcgi_watch is a supplement to (or replacement for)
<rails_app>/script/process/reaper.
The standard reaper script searches for all processes started with a
given pathname using the output from a ps command, and performs an
action on them. There are problems with this approach, at least on some
shared servers:
- The pathname seen from a script is not necessarily the same as the
2006 May 18
3
capistrano and Dreamhost issue
Hi,
i''m striving to capistranize a foo app on DH.
Everything is hosted on DH to simplify a bit :
- svn repository (http access)
- the application
- the DB
I used the recipe of Jamis Buck modified by Geoffrey Grosenbach which
you can find here : http://nubyonrails.com/pages/shovel_dreamhost
I did the least modifications possible. As recommended.
1) When I launch the
2006 Jul 01
0
fcgi_watch update
I''ve updated fcgi_watch to version 0.3.1. There''s no real functional
difference, but I fixed a bug that caused it to report multiple copies
of the same FCGI process as "running" under certain conditions.
The updated version is here:
http://www.alevans.com/dl/fcgi_watch-0.3.1.tgz
For those just tuning in:
fcgi_watch is a supplement to (or replacement for)
2006 Aug 02
5
monitor fcgi?
Im trying to get a new app up on dreamhost. What fun :/
Id like to try out the ''frao_handler'' which just keeps dreamhost from
automatically killing my fcgi processes. But Im also worried about
things getting out of hand. I seem to remember that captures in views
can cause problems with fcgi (I might just be making that up????), and I
do have few in my app. And well Im
2006 Jul 05
5
How do I reset rails in production mode on DreamHost?
Hello!
I am testing rails on DreamHost.
I believe it''s running on apache.
In development mode, it ran very slowly.
So I changed it into production mode and switched to fcgi.
It''s very fast now.
But the problem is that if I add actions to a controller, it''s not
applied.
I know that in production mode, I need to restart web server.
But I don''t control the web
2006 Jan 16
1
switchtower custom tasks question.
hi,
i''m just getting started using switchtower for deployment. i''m working
with a small team of 3 and a hosted subversion repository.
i have switchtower working, but i need to create two custom tasks and
have those tasks run at deployment. 1) copy a working dispatch.fcgi
from another folder, and 2) copy db/database.example to
db/database.yml
here is what i''ve tried,
2006 Aug 04
8
Capistrano /usr/bin/env: ruby: no such file or directory
Hi,
I''m deploying to a prod linux server via Capistrano, but the last step,
running the reaper, won''t complete.
Ruby is stored in /usr/local/bin on the server, and I''m deploying from
winxp.
$ ssh mcalogin@lx07
Password:
mcalogin@LX07:~> env | grep "^PATH"
PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/b
in:/opt/
2006 May 09
7
FCGI and the never ending saga of deploying on Dreamhost
I''m trying to setup an app on Dreamhost and running into no end of problems.
The app is running with edge rails and I''m currently getting the dreaded
''Rails application failed to start'' white screen when trying to access it.
I''ve gone through all the ''gotchas'' and troubleshooting docs at
Dreamhost and the rails wiki to no avail.
2006 Jul 16
14
Rails, FCGI, DreamHost, and endless frustrations
Hi all!
I''m trying to deploy an application out to a subdomain at dreamhost. I am
getting the dreaded "Rails application failed to start properly" error. The
logs for my app are empty. In the DreamHost FTP app, when I look in the
error.log file (I''m guessing this the Apache error log file) I see the
following for each of my attempts:
[Sun Jul 16 12:36:32 2006]
2006 May 17
3
What am I missing?
There''s got to be a simple answer to this...
def logout
reset_session
flash[:notice] = "Logged out"
redirect_to :action => ''index''
end
The flash never shows up, and doesn''t seem to be in the new session.
--Al Evans
--
Posted via http://www.ruby-forum.com/.
2006 Apr 30
4
Subversion and Capistrano
I have a project under Subversion, deployed by Capistrano.
When it is deployed, obviously I need to deploy "real" copies of
database.yml, deploy.rb, and maybe a couple of other files.
But if I offer it for public checkout, I obviously do not want these
files as part of the checked out code.
What''s the best way to handle this?
--Al Evans
--
Posted via
2010 Mar 05
0
Subversion CentOS documentation problem - can someone fix this?
Hi - the "Subversion on CentOS" are missing a key point - can someone modify:
http://wiki.centos.org/HowTos/Subversion
to fix them?
These docs need to add the info from:
http://www.virtualmin.com/node/9539
Basically,
"In your /etc/httpd/conf/httpd.conf, there should be a series of LoadModule lines that load "dav_module" and "dav_fs_module" (amongst others)
2006 Jul 03
3
ActionMailer -- anybody ever see this?
I''ve got a mailer that works -- about every other time. Authentication
fails the other half of the time. There doesn''t seem to be any
particular pattern to it -- work once, fail once, work three times, fail
twice, ....
For example, here''s one attempt from my development.log:
Sent mail:
Date: Sun, 2 Jul 2006 18:50:57 -0500
From: someone <someone@something.org>
2006 Feb 25
0
neverending i2/lighttpd problems
So after recompiling ruby a few times to get ssl and readline working,
fighting with lighty for awhile, and learning a bit more about linux
in the process, I think I''m really close to getting i2 up and running.
However, when I try to access my wiki, I get either a blank page or
an error 500 and the stack trace below gets sent to the log. If I
can''t get this working soon
2006 Aug 13
3
Rewrite problem or routing issue?
I''m not able to access anything in public, everything seems to be going
through the rails router. As a result, I can''t get to stylesheets or
javascript.
I''m not quite clear if this is a .htaccess problem, or a router problem.
I eliminated the "catchall" route, so the last route is
map.connect '':controller/:action/:id''
My .htaccess file
2006 Jun 09
2
Noob with Overwhelming Deployment Woes...
I''m doing some searching for deployment options, and I feel like I''m
getting buried in a lot of new technology and assumptions that I know
all that it''s dependent on. In the past I''ve done small things with PHP
where I just dump the app in a folder and everything works out of the
box.
I found that everyone is using Capistrano, which relies on Subversion
2006 Aug 11
2
Array#chunk method, maybe someone will find this useful
class Array
# break an array up into <size> chunks
def chunk(size=1)
return self if self.empty?
raise ArgumentError if !size.kind_of? Integer
y = self.length.divmod(size)
rows = (y[1] > 0) ? y[0] + 1 : y[0]
arr = Array.new(rows)
(0...rows).each do |i|
arr[i] = self.slice(size*i, size)
end
(arr.last.length...size).each { |i| arr.last[i] = nil }
2005 Sep 15
9
(newbie) rails app not working after subversion integration?
hello,
if anybody could please help, I''m very late with this project and
have been wasting a lot of time (days and days) getting past the
learning curve to get the infrastructure up (fcgi, rmagick... and now
svn integration). i come from dirty-php-scripting and am a newbie at
all of this :P
I have a rails app that I''ve been developing locally on os x.
originally I
2005 Dec 22
1
Re: Switchtower, Windows & Setup
Did you svn:executable and svn:eol-style properties on your
dispatch.fcgi file and all the files in your script folder? If you''re
deploying from Windows to Linux, subversion has to know that these files
are supposed to be executable and that their end-of-line characters need
to be changed for the *nix environment.
If you need help doing this, let me know.
>>>