Displaying 20 results from an estimated 3000 matches similar to: "newbie Capistrano question"
2006 Aug 18
3
New automated Capistrano setup for Apache2.1+ and mongrel_cluster
Hi mongrel users!
I just posted a bad-ass capistrano file that automates *everything*
for setting up an apache2+mod_proxy_balancer and
mongrel+mongrel_cluster -- including apache2 setups. It''s based off
Coda Hale''s guide and all Bradley''s work at fluxura and RailsMachine
(thanks Coda and Bradley!).
It''s, well, bad-ass, if I must say so myself. My favorite
2006 Aug 16
4
Deploying only what you need with Capistrano?
The recent Rails security issue highlighted a concern I''ve had about Rails
deploys; namely, you shouldn''t deploy anything to production that you don''t
need there. Rails apps have a number of scripts--potential security holes or
DOS targets in this case--along with all the other application code you
need. There''s no reason you should have script/server, console,
2006 Oct 03
3
Capistrano and Uploaded Documents
I have an application I''m working on which allows me to upload files. The
files are stored somewhere in the public directory so that they can be
accessed directly. When I deploy an update with Capistrano, I ''lose'' the
files because of the current symlink points to the new checked out version.
Before I start working on a solution, has anyone else already solved this
2006 Aug 12
3
Capistrano deployment pathname error
When I try to do a deployment with Capistrano I get the error "No such
file to load -- pathname" when Cap tries to execute reaper. Any ideas
what''s causing this or how I can troubleshoot it? (Output follows.)
Thanks.
Evan
-----BEGIN OUTPUT-----
[evans-powerbook:~/Desktop/asktheguys] evan% clear ; rake remote:deploy
(in /Users/evan/Desktop/asktheguys)
loading
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 Sep 15
1
Capistrano password prompt
I''m running capistrano 1.2.0 on Mac OS X 10.4.7. When I''m prompted for
passwords, typing is in the clear. Is this a bug or normal?
Andrew
--~--~---------~--~----~------------~-------~--~----~
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
2006 Jul 28
2
newb question...
This is what it says when i have this stupid error...
app/controllers/info_controller.rb:9: syntax error
this is what is inside of info_controller,
class InfoController < ApplicationController
def who_bought
@product = Product.find(params[:id])
@orders = @product.orders
respond_to do |accepts|
accepts.html
accepts.xml
end
end
if someone could please help me...
-/ James
--
2006 Dec 21
10
versioning of win32 versus ruby gems
I know we already mentioned this before on the list but I couldn''t
find it in the archives. Is there a way to differentiate the versions
for ruby/mswin32 so that I could run a command like:
# sudo gem install mongrel
--source=http://mongrel.rubyforge.org/releases/ --include-dependencies
--version 1.0
and have it not prompt me like this:
Select which gem to install for your platform
2006 Aug 19
0
test question
I have a real simple app with no database; however, when I try to run my
tests I get a traceback somewhere in the fixture.rb file trying to open
a connection. Is there a way to turn this off?
Thanks,
Paul Kristoff
214-5-249-5629
PKristoff@acm.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2001 Jun 28
2
plan/date for new features
Greetings,
With all the press concerning the 'almost 1.0' release of vorbis; I see a
lot of messages floating around as 'now 1.0, and -soon- it will include
joint-stereo, Wavelets, low-bitrate, peeling, etc. etc.'
Before I start 'advocating' vorbis and tell everybody what it all can do;
is there actually a date or some other planning when all those
2008 Mar 13
4
Merb in production with God/Monit
Hey All,
I just wanted to get other peoples take on problems when running merb
in production? Just as Rails used to do, the mongrels tend to get
heavy/unresponsive over time so need a good kicking by a watcher
daemon like god or monit. However, I have had serious problems getting
God to restart the process, as the "merb -k <port>" command doesnt
appear to work reliably
2006 Nov 13
1
rails+apache2+mongrel_cluster
hey all,
I managed to configure a mongrel+apache2 but now I would like to do a
mongrel_cluster. For now I have a sites-available/myapp but when it
comes to mongrel_cluster I need to set up myapp.common,
myapp.proxy_cluster.conf and
myapp.proxy_frontend.conf and I couldn''t find a tutorial that explain
where should those file go. is it in conf.d or sites-available/ or
else?
thanx in
2006 Aug 16
7
Forward of moderated message
OK I know whats happening. Your while loop completes and calls kill
on the worker before your task_progress controller method ever gets
called> So the worker is deleted and when you try to access it from
rails you get an error because there is no longer a worker at that
job key. The kill method is meant to be used within a worker that you
fire and forget. If you want to get the
2006 Sep 07
9
Mass virtual hosting with mongrel
Ok, a refinement of the question I asked yesterday (If there were any
replies from yesterday I don''t have access to them here .. sorry if
I''m duplicating anybody''s words here).
How can one host multiple domains with mongrel? Assuming you are mass
vhosting and you also want the performance benefits of using mongrel ...
As far as I can tell, one could set up a
2006 Aug 03
14
[WARNING] don''t use ruby-sendfile
Hi Folks,
I''ve been getting reports of people with serious stability problems in
Mongrel. These problems go away instantly when they remove
ruby-sendfile.
If your mongrel starts up saying that you have "sendfile installed" and
that it is using it then **you are wrong**. Remove the gem and don''t
use it.
I''ll be investigating why it doesn''t really
2006 Apr 10
5
I have a Capistrano 1.1 patch - where does it go?
I have a patch for Capistrano 1.1 - how do I submit it?
Wes
--
Posted via http://www.ruby-forum.com/.
2006 Mar 21
2
Capistrano: creating your own tasks
When I create a task within capistrano.rb I can call it using rake.
When I create a task and put it in deploy.rb I can call it. Neither
with or without the remote: namespace.
Anyone have any insight into why it does not work?
John Kopanas
2006 Apr 20
1
Capistrano not working for me
Hello fellow railers,
I''m new to the whole RoR thing and I have finished installing and setting
everything up on my OSX G4 Powerbook. I followed the step by step
instructions at Hivelogic, running lighttpd and everything else. I''m having
an issue with Capistrano.
I''m following the tutorial at Apple:
http://developer.apple.com/tools/rubyonrails.html
Everything in
2006 Apr 18
3
Capistrano and Certificates
All,
I''m setting up a deployment script with Capistrano at the moment, and
am running into some trouble when it attempts to pull the code down
from the SVN server when I run the deploy task.
The SVN server runs over https, and the problem seems to be when I get
asked whether I want to accept or reject the certificate. I hit ''p'' to
accept the certificate permanently,
2006 Apr 17
3
Slow-down with Capistrano?
This could be entirely my imagination, but it _feels_ like my apps are ever
so slightly less responsive after deploying with Capistrano.
Is that even possible?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060417/73f30cef/attachment.html