Thanks for the feedback! That sounds better...I will move it to a module
thanks
lee
On 7/10/07, Jamis Buck <[EMAIL PROTECTED]> wrote:
>
> Lee,
>
> One technique I use when something does seem to quite "fit" anywhere
> is to put it in a module, in the lib/ directory. Then I just include
> that mo
What version of RUby itself are all of you experiencing this problem
running? Is it perhaps ruby 1.8.6? I've been doing file transfers
with cap here of up to 25Mb without ever seeing this issue no matter
what i call before or after the put command. THis was with ruby 1.8.5
I'm checking for gems, but all of the gem checks are scoped to the app
role (except for the local gem check for tinder (so we can post deploy
notices to Campfire :).
But, as it turns out, we now need gem on the DB box, so it's sort of a
non-issue for us now :)
On 7/10/07, Jamis Buck <[EMAIL PROT
Wellcurrently, if you depend on any gem, cap will automatically
add a "depend :remote, :command, :gem". It is that automatically added
check that is failing. (Try grepping deploy.rb for "Try setting" and
you'll see where that's happening.)
I'm not sure what the best way to handle this is (asi
Or maybe not :-/ I have this:
depend :remote, :command, :gem, :roles => :app
Yet, it's running that check on my DB machines. I get this back on a
deploy:check:
--> `gem' command could not be found. Try setting :gem_command
(vip-db.mydomain.com)
On 7/7/07, Chris Bailey <[EMAIL PROTECTED]> wro
You might find some enlightenment here:
http://groups.google.com/group/capistrano/browse_thread/thread/389fa347ab955fbd/013e03ccfc7ac8bb?lnk=gst&q=capistrano%3Ahost&rnum=1#013e03ccfc7ac8bb
Or, if google totally munges that url:
http://tinyurl.com/2q6xuq
The short summary answer is that, n
Hi,
I'm new to Capistrano, but have successfully used 2.0 Preview 4 to set
up automatic deployment from WinXP to Dreamhost. It's neat-o-matic!
Thank you to Jamis and the community!
My question:
In my after_deploy task, my thought is to do a curl command to make
sure that everything is hunky-dor
Well, you can go in and comment out the touch operation, but note that
doing so may cause your asset timestamps to be slightly off, and will
totally invalidate any performance increase you might gain from asset
timestamping. (That's the reason we added that find+touch command.)
- Jamis
On 7/10/0
On Jul 10, 5:24 pm, "Jamis Buck" <[EMAIL PROTECTED]> wrote:
> How many files have you got in public/images, public/stylesheets, and
> public/javascripts? That line just takes a few seconds to execute for
> me, and we probably have more than a hundred files across all three of
> those directories
Nope, that's about the way I'd do it, too. You can clean it up a bit
by using default values for the Hash:
all_data = Hash.new { |h,k| h[k] = "" }
Then you don't have to test for whether any particular value in the
hash is nil. You can just append to it blindly:
all_data[channel[:host]] <<
Sorry about that. That was a bug that crept in with the introduction
of the :on_error => :continue feature. I've just committed a fix. In
the meantime, you can apply this patch to get things working for you
again:
Index: lib/capistrano/configuration/connections.rb
Lee,
One technique I use when something does seem to quite "fit" anywhere
is to put it in a module, in the lib/ directory. Then I just include
that module in (e.g.) the application controller, or a model.
If I don't even know where to include it, though, another option is to
break it out into it
How many files have you got in public/images, public/stylesheets, and
public/javascripts? That line just takes a few seconds to execute for
me, and we probably have more than a hundred files across all three of
those directories.
- Jamis
On 7/10/07, Eugenol <[EMAIL PROTECTED]> wrote:
>
> Hello J
Hello Jamis,
Of course they aren't stored in public/images. But it is still curious
that capistrano halts so much time at that step. Any idea ?
Regards
On Jul 10, 3:57 pm, "Jamis Buck" <[EMAIL PROTECTED]> wrote:
> Are you storing the uploaded files in public/images,
> public/stylesheets, or pu
Are you storing the uploaded files in public/images,
public/stylesheets, or public/javascripts? If so, you might want to
rethink that, and put them in public/uploads or something, since the
idea behind public/images is that you store your applications public
assets there, the bits and pieces of yo
On Jul 8, 4:22 am, "Jamis Buck" <[EMAIL PROTECTED]> wrote:
> If you have the directory under the shared directory, and then symlink
> from your deployed version to shared after deployment, the files will
> be preserved between deploys. It's only when your files are being
> stored directly under
16 matches
Mail list logo