Hi,
I'm having trouble getting the following command to work:
cap deploy:upload FILES=public/styleshets/scaffold.css
I get the error message:
Please specify at least one file or directory to update (via the FILES
environment variable)
I had a look at the file 'capistrano-2.5.19\lib\capistrano\recipes
\deploy.rb' where the 'upload' task is defined.
I added a 'p files' after the line 'files = (ENV["FILES"] ||
"").split(",").map { |f| Dir[f.strip] }.flatten'
This outputs [] (i.e an empty array), which is being returned by the
command Dir[f.strip]
Can somebody tell me what I am missing?
ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]
Capistrano v2.5.19
I am just experimenting with Capistrano, so am deploying from a
Windows 7 host, to a VirtualBox instance running Ubuntu 10.04
--
* You received this message because you are subscribed to the Google Groups
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/capistrano?hl=en