Then I would recommend a) doing a full deploy (these 'deploy one file'
tasks make me nervous.) or b) using the whole path to the file.
If I do cap deploy:upload "full/path/to/scaffold.css" then Capistrano
finds the scaffold.css file, but tries to upload it to
"path/to/current/on/server/full/path/to/scaffold.css"
What it should really is upload it to "path/to/current/on/server/rails
path/to/scaffold.css"
resulting in:
** sftp upload D:/Files/Rails
projects/vbox_svn_test/public/stylesheets/scaffold.css -> /home/jim/D
esktop/railsair/current/D:/Files/Rails
projects/vbox_svn_test/public/stylesheets/scaffold.css
But you're right, a full deploy makes much more sense.
I was only experimenting with some of the features mentioned in a book I
am reading.
Thanks very much for your help.
--
* 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