Many editors will recognize a shebang line and set the syntax appropriately. You should be able to put #!/usr/bin/ruby (or whatever) at the top of your Capfile. Also, you should be able to (one way or another) make your editor recognize Capfile as a ruby script (for instance TextMate recognizes Rakefile as ruby syntax, just by its name). Most editors worth their salt let you specify the filename patterns that match to a specific syntax.
- Jamis On 6/27/07, Matt M. <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using Capistrano for non-Rails deployment. I'd like to be able to use > just the Capfile and not config/deploy.rb. The problem is that Capfile > doesn't have an extension so text editors don't recognize it as Ruby. Would > it be possible to get it so Capistrano also loads a Capfile.rb? > > Matt > > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
