Non-mapped commands don't get executed wrapped in within() and with()

17 views
Skip to first unread message

Matt Connolly

unread,
Jan 1, 2014, 7:17:55 PM1/1/14
to capis...@googlegroups.com
I have an example script here: https://gist.github.com/mattconnolly/8212674

I can see in the code that it is bypassing all of the `with`, `within`, `user` etc conversions when the command has a space in it.

I would have expected that commands that are not mapped would have the same treatments applied to them as mapped commands. Is there a reason this isn't the case? It's not obvious to me.



Versions:
  • Ruby 2.0.0-p353
  • Capistrano 3.0.1
  • Rake 10.1.1 / Rails 4.0.2 
Platform:
  • Working on: Mac OS X 10.9.1
  • Deploying to: Ubuntu 13.10
Logs:
  • Please past logs (as completely as possible to a 3rd party pasting service such as pastie.org)
Files:
  • Capfile
  • deploy.rb
  • Stage files (production.rb, staging.rb)

Lee Hambley

unread,
Jan 2, 2014, 2:15:10 AM1/2/14
to capistrano
I would have expected that commands that are not mapped would have the same treatments applied to them as mapped commands. Is there a reason this isn't the case? It's not obvious to me.

Reply all
Reply to author
Forward
0 new messages