1 Answer
1

@Adam: I didn't get your answer. Sorry. If I read the friendly documentation, at some point I get: "Open your application's Capfile and make it begins like this:" but I have no capfile I believe. Please advice... :s I mean, capfile is related to the project that I get, but I don't have the project yet, so I just want to understand what steps should I make, in order to have capistrano with railsless applied... :s
–
MEMMar 21 '11 at 23:47

You should initialize Capistrano for your project by running 'capify .' in the project root. This would create the initial Capfile. If you don't have a project yet, what are you trying to deploy?
–
Adam ByrtekMar 22 '11 at 0:07

@Adam: I'm trying to deploy nothing at the moment. I thought that, even before I start to use 'capify .' I would need to install capistrano, properly. And in order to use capistrano to deploy other things that are NOT ruby on rails applications, that I needed to have railsless-deploy. Once I got all this, then, by doing cap -T we would get all the tasks available to us. But I only get two instead of the expected 10 or so task availables when I do "cap -T". Only after this I thought, I can actually try the application and do as you say: capify . - or is this wrong? Please have patience. :)
–
MEMMar 22 '11 at 0:56

1

I don't have experience with railsless, but I'm under impression that you need to have a Capify file containing "require 'railsless-deploy'" (as the documentation suggests) in order to see all the tasks.
–
Adam ByrtekMar 22 '11 at 7:38

@Adam: Thanks a lot. I think that to. Even if that's true, (and I will test it) that seems to imply that, in order to use cap -T command, I will need to do that command inside my project folder some how, so to use cap deploy, I need first to navigate to my project folder? Is this what you do at the moment? Thanks a lot.
–
MEMMar 22 '11 at 13:14