deploy files

This commit is contained in:
Nicolas Bally 2014-08-19 10:16:11 +02:00
parent 93ed42de9c
commit cd3307a8c8
4 changed files with 22 additions and 20 deletions

View File

@ -35,8 +35,10 @@ gem 'haml-rails'
gem 'unicorn'
# Use Capistrano for deployment
gem 'capistrano-rails', group: :development
gem "capistrano", '2.15.5', group: :development
gem "rvm-capistrano",'1.4.1', group: :development
gem 'net-ssh', '~>2.7.0'
# Use debugger
# gem 'debugger', group: [:development, :test]

View File

@ -29,16 +29,12 @@ GEM
tzinfo (~> 1.1)
arel (5.0.1.20140414130214)
builder (3.2.2)
capistrano (3.2.1)
i18n
rake (>= 10.0.0)
sshkit (~> 1.3)
capistrano-bundler (1.1.3)
capistrano (~> 3.1)
sshkit (~> 1.2)
capistrano-rails (1.1.1)
capistrano (~> 3.1)
capistrano-bundler (~> 1.1)
capistrano (2.15.5)
highline
net-scp (>= 1.0.0)
net-sftp (>= 2.0.0)
net-ssh (>= 2.0.14)
net-ssh-gateway (>= 1.1.0)
coffee-rails (4.0.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
@ -46,7 +42,6 @@ GEM
coffee-script-source
execjs
coffee-script-source (1.7.1)
colorize (0.7.3)
erubis (2.7.0)
execjs (2.2.1)
haml (4.0.5)
@ -56,6 +51,7 @@ GEM
activesupport (>= 4.0.1)
haml (>= 3.1, < 5.0)
railties (>= 4.0.1)
highline (1.6.21)
hike (1.2.3)
i18n (0.6.11)
jbuilder (2.1.3)
@ -74,7 +70,11 @@ GEM
multi_json (1.10.1)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (2.9.1)
net-sftp (2.1.2)
net-ssh (>= 2.6.5)
net-ssh (2.7.0)
net-ssh-gateway (1.2.0)
net-ssh (>= 2.6.5)
polyglot (0.3.5)
rack (1.5.2)
rack-test (0.6.2)
@ -98,6 +98,8 @@ GEM
rake (10.3.2)
rdoc (4.1.1)
json (~> 1.4)
rvm-capistrano (1.4.1)
capistrano (>= 2.0.0)
sass (3.2.19)
sass-rails (4.0.3)
railties (>= 4.0.0, < 5.0)
@ -118,10 +120,6 @@ GEM
activesupport (>= 3.0)
sprockets (~> 2.8)
sqlite3 (1.3.9)
sshkit (1.5.1)
colorize
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
thor (0.19.1)
thread_safe (0.3.4)
tilt (1.4.1)
@ -144,12 +142,14 @@ PLATFORMS
ruby
DEPENDENCIES
capistrano-rails
capistrano (= 2.15.5)
coffee-rails (~> 4.0.0)
haml-rails
jbuilder (~> 2.0)
jquery-rails
net-ssh (~> 2.7.0)
rails (= 4.1.4)
rvm-capistrano (= 1.4.1)
sass-rails (~> 4.0.3)
sdoc (~> 0.4.0)
spring

View File

@ -9,7 +9,7 @@ set :scm_host, "gitlab.bally.me"
set :rvm_ruby_string, 'ruby-2.1.2@ads'
set :rvm_ruby_string, 'ruby-2.1.2'
set :rvm_autolibs_flag, "read-only"
set :bundle_cmd, "/home/#{user}/.rvm/gems/#{rvm_ruby_string}@global/bin/bundle"

View File

@ -6,7 +6,7 @@ set -e
# Change these to match your app:
APP_NAME=ads_app
APP_RUBY=2.1.2@ads
APP_RUBY=2.1.2
APP_ROOT="/home/web/ads_app/current"
PID="/home/web/ads_app/shared/unicorn.pid"
ENV=production