Displaying 20 results from an estimated 1000 matches similar to: "deprec - deployment recipes for capistrano"
2007 Oct 22
4
HOW TO REBUILD DATABASE WITH CAPISTRANO
I''ve deployed an application using Capistrano.
But on my local machine I edited one of the earlier migrations. I''ve
tried "cap deploy_with_migrations", but it looks like it didn''t rebuild
the database.
How can I do the equivalent of this using Capistrano?
"rake db:migrate VERSION=0"
"rake db:migrate"
--
Posted via
2007 Oct 24
0
[Q] capistrano recipe for deployment
Anyone have a working (or even semi-functional) capistrano recipe for
deploying merb apps?
If not, I guess I''ll have to write one... ;-)
cr
2013 Aug 16
3
PATCH for MSVC++ 2005 Express
Recently I downloaded MSVC++2005 Express Edition and it turns out that it wasn't possible to compile all files without several changes:
1) FLAC.sln has one extra "EndProject" line
--- a\FLAC.sln 2013-06-17 11:57:09.000000000 +0400
+++ b\FLAC.sln 2013-08-16 20:19:34.630486700 +0400
@@ -157,7 +157,6 @@
EndProject
Project("{4cefbc7c-c215-11db-8314-0800200c9a66}") =
2007 Jul 17
0
uninitialized constant ExceptionNotifiable deploy_with_migrations in TEST
I have installed the exception_notification plugin, and it works fine
when system is deployed to production. and I have not problems
deploying to dev, and not test environments. However, when I try to do
a deploy_with_migrations, I get the uninitialized constant
ApplicationController::ExceptionNotifiable error.
There must be something ''special'' about the test env, but I
2006 Apr 10
1
Capistrano/SwitchTower: DB activity for deploy task?
All,
Does anyone know if Capistrano/Switchtower actually does anything on the
database server as part of the "deploy" task?
I''m pretty sure that it doesn''t, but thought I would verify.
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2007 Jun 06
0
Capistrano: Port in SVN
. . .
* executing "sudo chmod -R g+w /usr/local/svn/project_name"
servers: ["project_name.com"]
[project_name.com] executing command
command finished
* executing task svn_import
Adding branches and tags
ssh: connect to host project_name.com port 22: Connection refused
svn: Connection closed unexpectedly
Importing application.
ssh: connect to host
2007 Jan 06
1
transferred files have ",v" at their end
Hi Guys,
When I transfer files with rsync to my server, all the files get a ",v"
added to the extension. Do you know why is this?
I am using the command described on sourceforge
rsync -av rsync://PROJECTNAME.cvs.sourceforge.net/cvsroot/PROJECTNAME/* .
and I get files like "build.xml,v"
If I do a search for the exact phrase with search engines, "build.xml,v", I
can
2005 Mar 23
2
0.11 problems
I''ve upgraded to 0.11 this morning specifically to test out the
pagination stuff. When that didn''t work (didn''t recognise the command)
I deleted my project and recreated from scratch. So in short
rails projectname
cd projectname
edit config/database.yml (my database is postgres by the way)
ruby scripts/generate model Recordtype
ruby
2006 Apr 03
2
Capistrano - how do I set up the database config?
My app is set up without database.yml in version control. I created a
shared_path/config dir, and put database.yml in it. After I update
the code, I want to link the app''s database.yml file to the shared
config. So I added this task
desc ''Copy the database config''
task :after_update_code, :roles => :app do
run "ln -s #{shared_path}/config/database.yml
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,
2008 May 28
0
mongrel_rails cluster::restart task via capistrano mongrel_cluster/recipes problem.
Hi Guys,
I hope its ok to post to this list. I have a rails on ubuntu deployment stack
which consists of:
locally: cap 2.3.0 and all latest deps
server side: apache 2.3, mongrel_cluster, mod_proxy and git on the
same host.
I am connecting to my remote host via ssh with agent and pass phrase. All is
good until my first mongrel task, deploy:restart task. I have included the
2009 Apr 16
3
deprec problem
I install deprec with gem install deprec
but when i write deprec --apply-to . this message display to me
" ''deprec'' is not recognized as an internal or external command,
operable program or batch file. "
what can i do?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
2010 Jul 21
0
Error when loading wxruby
I''ve had plenty of wonderful experience with WxRuby on a PC, but
whenever I try it on my Ubuntu Linux, I get the same error. I''ve tried
two different computers, and they do the same thing, so I''m wondering if
it''s an error within Wx. This is the error I get:
/var/lib/gems/1.9.1/gems/wxruby-ruby19-2.0.0-x86_64-linux/lib/wx.rb:12:in `require'':
2010 Mar 24
1
problems with project property of User resource
Hi,
I wanted to set the project property of a Solaris user after realizing
the user. Have already created the project by adding a line to /etc/
project. The user is created in virtual::user class wich is inherited
by the target class to be able to add the project property. The
project of the user xxxx gets not set properly and remains default
when I use the project property ! Had to fall back
2005 Dec 08
0
Samba Server requirement
Hi all,
I am using CentOS 4(equivalent to RHEL 4) with Samba
Version 3.0.10-1.4E.I have mount a folder(say "//linuxsrv/projectname" in my
"/mnt/projectname") from my Development server
which is a Debian Sarge box.My requirement is that whenever the Samba server
running on Debian Box is restarted,I have to recognize it and unmount
the "server
2007 Mar 05
2
Any capistrano email recipes?
I''d like to set up capistrano to send an email whenever we do a
deployment. Just start an SMTP session with localhost and shoot off
the email. I have all the code to do that actually, I just don''t know
how to run some Ruby code on the deployment server. Anyone know how
to do that, or do you have an email recipe?
Pat
--~--~---------~--~----~------------~-------~--~----~
You
2008 Apr 29
1
Webistrano recipes association (was: [Capistrano] Webistrano 1.3 released)
I see at some point recipes were changed from project-associated to
stage-associated, is there some explanation or examples of that use-case?
Could I request we have both? In my current cap scripts, we don''t have any
stage-specific recipes, but maybe I''m just not understanding this
completely.
On Tue, Apr 29, 2008 at 1:04 PM, Jonathan Weiss
2006 Apr 25
2
Capistrano :db role
Hello,
Can someone explain me why Capistrano deploys rails code to both :web and :db
roles, not only to :app role, which is the only role that actually needs this
code.
In my setup I do not want to give any SSH access to :db servers other than
server management, which is done outside Capistrano. So why Capistrano
migrate task needs this access while it could to it from :app server, which
2007 Sep 22
1
Howto customize deployment with capistrano2
My deployment requires a few extra steps after ''update_code'' and then
again after ''symlink''.
Until I migrated to capistrano2, I had my own deploy_with_migration
task which added these steps.
What would be a recommended approach to accomplish the same using
capistrano2?
Thanks,
Helzer
--~--~---------~--~----~------------~-------~--~----~
You received this
2011 Aug 25
3
Very Basic Source Question
I'm having an issue sourcing an R file from my workbench using StatET in the
Eclipse IDE. All I'm trying to do is get comfortable with 'source' and run
"source(C:/Program Files (x86)/Eclipse/eclipse/ProjectName/SourceFile.R)".
When I try to call the path for the file i get the error: "unexpected '/' in
"source(C:/". I've looked around but