Displaying 20 results from an estimated 1300 matches similar to: "Capistrano: Port in SVN"
2007 May 27
1
Rails Server Issues
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails application starting on http://0.0.0.0:1337
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:1337
** Starting Rails with development environment...
Exiting
/opt/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/
mongrel.rb:15: warning:
2006 Jun 28
0
Capistrano Command Worries
Hey all,
I have a problem that I cannot wrap my head around. I have a
capistrano task to kill my lighttpd process and restart it. Here is
the subtask, stop_lighttpd, that fails:
task :stop_lighttpd, :roles => :web do
run "kill -9 `ps aux | grep lighttpd | grep #{deploy_to} | awk
''{print $2}''` > /dev/null"
end
I know for a fact that when stop_lighttp is
2006 May 24
0
capistrano on windows
I''m trying to deploy my app to the production server (on dreamhost) from a
windows box. however, all I get is "rake aborted" without any further error
messages. I have no idea where to even start debgging this. I''ve checked and
re-checked the details in deploy.rb but otherwise I''m stumped. any ideas
anyone?
thanks
al
output from command line:
2007 Jan 12
1
capistrano setup bails with RegexpErr on show_tasks
I am new to RoR, but I have had RoR running with Capistrano on a
different box. However I''m installing a fresh copy now and am finding
constant regex errors from the standard.rb file while attempting to
"show_tasks". As this is a new installation, everything is up-to-date.
Here''s the environment:
FreeBSD 6.2-RC2
ruby 1.8.5
gem 0.9.0
rake 0.7.1
net-ssh 1.0.10, 1.0.9
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 May 26
3
capistrano on windows (again)
Hi all
I didn''t get a response to my first post so I thought I''d try again. is
anyone successfully using capistrano to deploy their app from a windows box?
I''m trying to deploy a test app to my dreamhost account but all i get is
"rake aborted!" with no further information. Can someone please confirm if
capistrano even works under windows?
many thanks
al
2006 May 25
5
Weird Capistrano problem
I''m having problems launching the spin process via the deploy.rb task.
Everything works great when is run the script manually via:
% ssh admin@monterey.example.net /Web/Rails/Example/current/script/spin
However, when I run ''cap spinner'' or ''rake remote:exec ACTION=spinner'',
I get the following errors:
% cap spinner
loading configuration
2006 Jan 26
0
Switchtower deploy failing...
Hi,
I am trying to deploy my app using switchtower on a linux machine
from
a windows box and running into the following issue:
> rake deploy
Any ideas ??
Many thanks...
/usr/lib/ruby/gems/1.8/gems/switchtower-0.10.0/lib/switchtower/configuration.rb:197:in
`method_missing'': undefined method `local''
for #<SwitchTower::Configuration:0x102b58c8> (NoMethodError)
2006 Aug 06
1
RJS error
http://pastie.caboo.se/7437
Page appears as:
Todo List
#testing
* Heres another Edit Destroy
* Testes Edit Destroy
* One more Edit Destroy
* Heres another Edit Destroy
* And another Edit Destroy
NameError in TodosController#create
undefined local variable or method `page'' for
#<TodosController:0x228bf4c>
RAILS_ROOT:
2005 Jun 24
14
apache2 fastcgi (fcgi) internal server errors, still :(
hi all,
I can blab, but here is a sample of my /var/log/apache2/error.log, it
has all the info:
any ideas what I can do prevent 500s from hitting my users? (besides
redirecting them with javascript to the same URL which will be fine on
the next request? :)
thanks,
_alex
[Fri Jun 24 12:30:45 2005] [error] [client 172.20.0.175] FastCGI:
incomplete headers (0 bytes) received from
2006 Feb 11
1
Switchtower deploy fails though setup works
I''m trying to use SwitchTower to deploy from XP to Dreamhost. Based on
<http://nubyonrails.com/pages/shovel_dreamhost>, my deploy.rb looks like:
set :user, ''dankohn''
set :application, "flydash.com"
set :repository, "http://svn.flydash.com/flydash/flydash"
#set :repository, "svn+ssh://home/#{user}/svn/flydash"
#set :repository,
2006 Dec 04
0
deprec - deployment recipes for capistrano
http://codemode.blogspot.com/2006/11/deprec-install-rails-stack-and-deploy.html
deprec is a new rubygem to make deployment of your Rails app with
Capistrano a breeze.
cap install_rails_stack
This recipe installs everything you need to prepare an Ubuntu linux
6.06 server to host
your Rails application:
- apache 2.2 with mod_proxy_balancer
- mongrel & mongrel cluster
- rails
- mysql
These
2010 Dec 21
1
Matching 2 SQL tables
Hi,
I have a postgresql and a mysql database and I would like to combine the
info from two different tables in R. Both databases contain a table with
three columns: project_name, release_id and release_date. So each project
output could be released multiple times (I am interested in the first
release_date). However, some of the data is missing. Basically, what I want
to do is to try and fill the
2006 Feb 12
4
How do I emulate directory structure with routes?
I''ve got something that I''m not sure is actually doable. I have a
very complex model relationship with a lot of parent/child/grandchild/
greatgrandchild etc stuff going on. Is there a way to do a route like
this?
tld.com/
projects/:project_name/:sequence_acronym/:shot_number/:department/:eleme
nt_name/:version/
where:
project is the parent of sequence
sequence is the
2006 Jan 09
7
Large select list, speed issues
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">I have a piece of code in my page
to generate
2011 Mar 21
1
Getting user session object in cucumber
Hi,
I am learning cucumber.
I have integrated the Devise with my rails 3 application.
My problem is I have to write a test which will create a project.
For that I have to make sure that user should be logged in. So I have
written the user login feature first which is working fine. After that I
have written the creation of project scenario. Whenever I am running
that scenario we are getting an
2010 Oct 06
1
Dynamic Variable Name
Is it possible to dynamically determine a variable''s name?
I would like to do:
$project_NAME
where
NAME can be anything.
I''ve tried this (for experiment purposes):
$project_name = ''my_project''
$project_my_project = ''/mnt/pa/test'' #this variable will be set out
of this script
notice($"project$project_name")
This is not parseble!
2009 Apr 04
1
Rails 2.3.2 - template question
Simplest of template files, tst.rb, contains:
PROJECT_NAME = File.basename(RAILS_ROOT)
run ''echo '' + PROJECT_NAME
Running command "rails tst -m ~/Rails_Tools/tst.rb" produces:
create
create app/controllers
.
.
create log/development.log
create log/test.log
applying template: /Users/rick/RailsTools/tst.rb
Anonymous modules
2006 Mar 31
5
RoR 1.1 RJS problem
I''ve been playing with the new RJS stuff in RoR1.1, and I have to say
that I''m am extremely impressed, NICE! work guys. However, I seem to be
having a bit of a problem. I promise, I''ve googled the hell out of it
and haven''t found an answer.
Set up: Putting together a little proof of concept app. Display a form
(index.rhtml) that just has a button to
2006 Jul 26
0
capistrano CLI automation - using capistrano as a library
Hi all,
I''m trying to integrate Capistrano (thanks Jamis and DHH for such a lovely
piece of software) into an application I''m writing.
I can''t figure out, though, how to get output from capistrano when it''s used
through the CLI or configuration class, however. I see that it implements a
logger (Logger) and I see that starting on line 12 of the included