Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

How to pass command line options to capistrano?

$
0
0

I love the support for Ruby and Capistrano in 12.1. Being able to debug those Ruby files is wonderful.

One thing that I haven't been able to do, however, is to pass capistrano command line options along when starting a task from IDEA.

We rely a lot on setting variables from the command line, e.g. cap deploy:setup -s a_variable=123 but haven't been able to do this from within IDEA.

We have tried this (in the Capistrano Configuration Dialog):

  1. Adding the -s xx=yy to the task name. Fails with "task does not exist"
  2. Adding as "Task Arguments". Fails with "the task `deploy:setup[a_variable=123]' does not exist.
  3. Assing to Ruby arguments. Doesn't work since they don't seem to be passed on to capistrano.

 

Help?


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>