Displaying 20 results from an estimated 2000 matches similar to: "Capistrano on Windows - Send Binary File"
2006 May 14
3
Configuring Capistrano For Local To Remote Deployment
How does one configure capistrano for moving local file to your remote
server? In the docs it says that one cannot use file:// so what''s the
configuration step for resolving this issue?
Thanks in advance,
-Conrad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060514/93bb7173/attachment-0001.html
2006 Mar 07
17
[UNDER CONSTRUCTION] YAC? (Yet Another Capistrano)
My needs are far more modest than Capistrano''s capabilities. Also, when
working in a shared hosting environment, the Capistrano model can be
outside the capabilities allowed by the Web host.
I simply need to push selected directories (on a changed-file basis) out
to a server. I have about 80% of the code written to do this (I''m
considering YAC for the name, with a nod to
2006 Feb 25
1
a switchtower recipe to copy rather than checkout
For those who want use switchtower to deploy to a remote server that does not have
access to the main subversion repository, here is a task I just hacked up to use
switchtower to deploy to my servers by copying a local directory to the servers, rather
than have the servers use svn checkout.
I actually create my local directory using an svn export, but you can do whatever you
like here, and just
2006 Feb 19
8
SwitchTower to skip config/ directory
Hello,
I am trying to figure out how to use switch tower.I have a local copy of
source code and I want to put it on the host.Now I dont want to put
directories like config/ because the settings on the host and the one on my
machine are different.
Any way to do this?
Also is svn necessary to use SwitchTower?
Vivek
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jun 22
6
Capistrano with Local (not file:///) repository
I''m developing an rails app. The SVN repository resides on a (Win 2k)
server on my company''s local intranet. The repository is accessed via
http (Apache + mod_dav_svn). From this machine, it is not a problem to
get out onto the Internet. However, coming in from the Internet is not
possible (at least, not without a VPN connection).
Given this, is it possible to use
2006 May 23
2
Capistrano won''t spawn fcgi processes
I''ve ran into quiet an annoying problem: I have a Capistrano task
that is supposed to run a shell script. The script restarts a rails
application by first killing all active fcgi processes and then
spawning new ones again. The shell script works fine when executed
locally on the server but running this in a Capistrano task will
simply not work.
The task is simple:
desc
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
2007 Mar 28
1
attachment_fu & update_attributes... bug?
It seems that attachment_fu is a pretty popular plugin (it''s great), but
I''ve been having a terrible time trying to figure out an issue when
using "update_attributes". I''m storing files on the file system rather
than in a database.
It seems that when "update_attributes" is called with a new file,
upload_data= tries to copy a file that
2007 Aug 18
0
RSpec and acts_as_attachment
Hey guys,
I''m getting a weird error when trying to test something like the
following. It''s a model that is using acts_as_attachment but the
weird thing is the equivalent Test::Unit case passes. Does anyone
have any ideas?
Best,
Dave
# it was a Test::Unit case first
def test_should_be_invalid_without_file
UserFile.any_instance.expects(:with_image).never
2006 May 24
0
upload progress progress (progress of the upload progress progress plugin)
Hey guys, I''ve been hacking on the upload progress stuff that _why
started. I started a backpack page if anyone''s interested.
http://technoweenie.backpackit.com/pub/602283
If you want access to the files, send me your backpack email.
--
Rick Olson
http://techno-weenie.net
2007 Mar 09
0
Merb + attachment_fu
Merbists,
I saw a note in the attachment_fu source code regarding supporting Merb[1]
as well as a post on the Caboose forum[2].
Has anyone gotten Merb working with Rick Olson''s attachment_fu to handle
uploads for a Rails app?
I''ve hacked together something, but it''s not pretty. Besides fixing the TODO
mentioned in the attachment_fu source code to support Merb
2005 Dec 02
0
RE: How to test for controller
There is a reason the controller is called *controller*. The controller
should be making this type of decision.
I would do it this way:
Class FooController < ApplicationController
def bar
@side_nav = :display_admin
End
def baz
@side_nav = :hide_admin
EndEnd
In the view:
<% if @side_nav == :display_admin %>
...
<% end %>
In your application controller, you can set
2007 Dec 13
4
Attachment_fu problems on updates
On the creation of a member the member''s picture uploads as it should.
However, when updating the member, while selecting a new picture, an
error is thrown:
can''t convert nil into String
RAILS_ROOT: /Users/chris/Documents/Projects/Rails/CommunityCMS/trunk
Application Trace | Framework Trace | Full Trace
2010 Jul 11
0
Attachement_fu error when updating existing photos
Hi,
I am attempting to replace an exiting photo with a new one uploaded by
the user. I am using attachment_fu and I am coming up with the
following exception:
can''t convert nil into String
/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/backends/file_system_backend.rb:23:in
`join''
2007 Jun 29
1
attachment_fu validation error
I have this class:
class Logo < ActiveRecord::Base
has_one :something
has_attachment :content_type => :image,
:storage => :db_file,
:max_size => 500.kilobytes
:thumbnails => {:web => ''150x100'', :pdf =>
''150x100''},
:processor =>
2007 Apr 13
2
[LLVMdev] [llvm-commits] CVS: llvm/lib/Transforms/Hello/Makefile
And this brings back CommandLine Error: Arugment blah defined more
than once!
And without this, opt -load .../LLVMHello.dylib -hello does not work
on Darwin because dyld is not able to find SlowerOperationInformer ;)
thoughts ?
-
Devang
On Apr 13, 2007, at 11:28 AM, Devang Patel wrote:
>
>
> Changes in directory llvm/lib/Transforms/Hello:
>
> Makefile updated: 1.7 ->
2007 Apr 18
3
nil.symbolize_keys -- error with attachment_fu
I''ve spent at least 2 hours on this one problem. On my local machine
in my controller I have this:
def new
@page_title = "New User"
@user = User.new
@photo = Photo.new
end
All is good.
Now, on the remote server I get an error when accessing the ''new''
view. If I remove @photo = Photo.new from the controller then the
error goes away. This same error
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
2011 Feb 22
2
Problem installing restfull authentication
hi
trying to use restfull authentication, but getting the folloing error
script/plugin install
http://github.com/technoweenie/restful-authentication.gitrestful_authentication
Plugin not found: ["
http://github.com/technoweenie/restful-authentication.git",
"restful_authentication"]
can someone help please
thanks
--
You received this message because you are subscribed to
2007 Apr 13
0
[LLVMdev] [llvm-commits] CVS: llvm/lib/Transforms/Hello/Makefile
On Fri, 13 Apr 2007, Devang Patel wrote:
> And this brings back CommandLine Error: Arugment blah defined more
> than once!
>
> And without this, opt -load .../LLVMHello.dylib -hello does not work
> on Darwin because dyld is not able to find SlowerOperationInformer ;)
I think libhello should drop its use of SlowOperationInformer.
-Chris
> On Apr 13, 2007, at 11:28 AM, Devang