Note that there are some explanatory texts on larger screens.

plurals
  1. POCapistrano Prompting for Project Domain Name
    text
    copied!<p>I'm currently using Capistrano along with the multistage extension to manage deployments. Even after setting :domain in config/deploy/stage.rb, when calling 'cap stage deploy', its prompting me for a domain name for the project. What setting am missing?</p> <p>Here is my deploy.rb</p> <pre><code>set :stages, %w(vm rtpstage ciscostage ciscodemo hp) require 'deprec' require 'capistrano/ext/multistage' require 'lib/monit_recipes' set :application, "systems" set :repository, "git://github.com/mdwrigh2/systems.git" # If you aren't using Subversion to manage your source code, specify # your SCM below: set :scm, :git set :user, "rails" default_run_options[:pty] = true set :ruby_vm_type, :mri # :ree, :mri set :web_server_type, :apache # :apache, :nginx set :app_server_type, :mongrel # :passenger, :mongrel set :db_server_type, :mysql # :mysql, :postgresql, :sqlite # set :packages_for_project, %w(libmagick9-dev imagemagick libfreeimage3) # list of packages to be installed # set :gems_for_project, %w(rmagick mini_magick image_science) # list of gems to be installed # Update these if you're not running everything on one host. # If you aren't deploying to /opt/apps/#{application} on the target # servers (which is the deprec default), you can specify the actual location # via the :deploy_to variable: # set :deploy_to, "/opt/apps/#{application}" namespace :deploy do task :restart, :roles =&gt; :app, :except =&gt; { :no_release =&gt; true } do top.deprec.app.restart end end </code></pre> <hr> <p>And here is my vm.rb</p> <pre><code>set :domain, "juicy.vm" role :app, "juicy.vm" role :web, "juicy.vm" role :db, "juicy.vm", :primary =&gt; true role :monitor, "juicy.vm" </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload