Versions:
- Ruby ruby 2.0.0p481 (2014-05-08 revision 45883)
[universal.x86_64-darwin13]
- Capistrano 3.1.0
- Rake / Rails / etc
-
-
- gem 'capistrano-rails'
- gem 'capistrano-bundler'
- gem 'capistrano-rbenv', "~> 2.0"
Platform:
- Working on.... mac
- Deploying to... ubuntu 14
Logs:
- Please past logs (as completely as possible to a 3rd party pasting
service such as pastie.org)
Files:
- Capfile
# Load DSL and Setup Up Stages
require 'capistrano/setup'
# Includes default deployment tasks
require 'capistrano/deploy'
Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r }
- deploy.rb
lock '3.1.0'
# Define the name of the application
set :application, 'my_app'
# Define where can Capistrano access the source repository
# set :repo_url, 'https://github.com/[user name]/[application name].git'
set :scm, :git
set :repo_url, '[email protected]:jaipratik/rw.git'
set :use_sudo, true
set :log_level, :debug
# Define where to put your application code
set :deploy_to, "/var/www/my_app"
set :pty, true
set :format, :pretty
- Stage files (production.rb, staging.rb)
role :app, %w{[email protected]}
# Extended Server Syntax
server '54.69.25.251', user: 'ubuntu', roles: %w{web app}
# set it globally
set :ssh_options, {
keys: %w(/Users/jay/.ssh/id_rsa),
forward_agent: false,
user: 'user'
# auth_methods: %w(password)
}
--
You received this message because you are subscribed to the Google Groups
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/capistrano/4f4ae75e-0f40-4eac-a7c8-a0abaa7ac167%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.