Prepare tab for new server

This commit is contained in:
Tom Naessens 2015-09-01 15:02:14 +02:00
parent 4dcf2c2b1b
commit 4763433b48
3 changed files with 17 additions and 13 deletions

View file

@ -5,6 +5,7 @@ require 'capistrano/setup'
require 'capistrano/deploy'
require 'capistrano/rails'
#require 'capistrano/rbenv'
require 'capistrano/rvm'
# Loads custom tasks from `lib/capistrano/tasks' if you have any defined.

27
Gemfile
View file

@ -4,9 +4,6 @@ source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.3'
gem 'bootstrap-sass', '3.2.0.0'
@ -44,21 +41,25 @@ group :test do
end
group :development do
gem 'annotate'
end
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring', group: :development
gem 'annotate'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
# Deployment
gem 'capistrano', '~> 3.1'
gem 'capistrano-rails', '~> 1.1'
gem 'capistrano-rvm'
gem 'capistrano-rbenv'
gem 'capistrano-passenger'
end
# Airbrake
gem 'airbrake'
# Deployment
gem 'capistrano', '~> 3.1'
gem 'capistrano-rails', '~> 1.1'
gem 'capistrano-rvm'
gem 'capistrano-passenger'
# Generate seed data
gem 'faker', '1.4.2'

View file

@ -6,3 +6,5 @@ server 'king.ugent.be', user: 'tab', roles: %w{web app db},
}
set :rails_env, 'production'
set :rbenv_type, :system
set :rbenv_ruby, File.read('.ruby-version').strip