Skip to content

Commit

Permalink
setup deployment with capistrano, modified gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jeloi committed Jan 3, 2014
1 parent 43b4d84 commit a79682c
Show file tree
Hide file tree
Showing 6 changed files with 507 additions and 375 deletions.
8 changes: 4 additions & 4 deletions Capfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ require 'capistrano/deploy'
# https://github.com/capistrano/rails/tree/master/assets
# https://github.com/capistrano/rails/tree/master/migrations
#
# require 'capistrano/rvm'
require 'capistrano/rvm'
# require 'capistrano/rbenv'
# require 'capistrano/chruby'
# require 'capistrano/bundler'
# require 'capistrano/rails/assets'
# require 'capistrano/rails/migrations'
require 'capistrano/bundler'
require 'capistrano/rails/assets'
require 'capistrano/rails/migrations'

# Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r }
9 changes: 6 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ group :development, :test do
gem 'zeus'
gem 'factory_girl_rails'

gem 'capistrano'
# gem 'capistrano', '~>2.15'
gem 'capistrano-rails'
gem 'capistrano-rvm'
gem 'capistrano-bundler'

# Performance testing gems. Need to troubleshoot
# gem 'rails-perftest'
Expand Down Expand Up @@ -85,6 +88,6 @@ group :doc do
end

group :production do
gem 'pg', '0.15.1'
gem 'rails_12factor'
# gem 'pg', '0.15.1'
# gem 'rails_12factor'
end
12 changes: 11 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ GEM
i18n
rake (>= 10.0.0)
sshkit (>= 0.0.23)
capistrano-bundler (1.1.1)
capistrano (~> 3.0)
sshkit (>= 1.2.0)
capistrano-rails (1.1.0)
capistrano (>= 3.0.0)
capistrano-bundler (>= 1.0.0)
capistrano-rvm (0.0.3)
capistrano
capybara (2.1.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
Expand Down Expand Up @@ -299,7 +307,9 @@ DEPENDENCIES
bcrypt-ruby
bootstrap-will_paginate
cancan
capistrano
capistrano-bundler
capistrano-rails
capistrano-rvm
capybara
capybara-webkit
carrierwave
Expand Down
Loading

0 comments on commit a79682c

Please sign in to comment.