Prepare tab for new server
This commit is contained in:
parent
4dcf2c2b1b
commit
4763433b48
3 changed files with 17 additions and 13 deletions
1
Capfile
1
Capfile
|
@ -5,6 +5,7 @@ require 'capistrano/setup'
|
||||||
require 'capistrano/deploy'
|
require 'capistrano/deploy'
|
||||||
|
|
||||||
require 'capistrano/rails'
|
require 'capistrano/rails'
|
||||||
|
#require 'capistrano/rbenv'
|
||||||
require 'capistrano/rvm'
|
require 'capistrano/rvm'
|
||||||
|
|
||||||
# Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
|
# Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
|
||||||
|
|
27
Gemfile
27
Gemfile
|
@ -4,9 +4,6 @@ source 'https://rubygems.org'
|
||||||
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
||||||
gem 'rails', '4.2'
|
gem 'rails', '4.2'
|
||||||
|
|
||||||
# Use sqlite3 as the database for Active Record
|
|
||||||
gem 'sqlite3'
|
|
||||||
|
|
||||||
# Use SCSS for stylesheets
|
# Use SCSS for stylesheets
|
||||||
gem 'sass-rails', '~> 4.0.3'
|
gem 'sass-rails', '~> 4.0.3'
|
||||||
gem 'bootstrap-sass', '3.2.0.0'
|
gem 'bootstrap-sass', '3.2.0.0'
|
||||||
|
@ -44,21 +41,25 @@ group :test do
|
||||||
end
|
end
|
||||||
|
|
||||||
group :development do
|
group :development do
|
||||||
gem 'annotate'
|
# Use sqlite3 as the database for Active Record
|
||||||
end
|
gem 'sqlite3'
|
||||||
|
|
||||||
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
gem 'annotate'
|
||||||
gem 'spring', group: :development
|
|
||||||
|
# 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
|
# Airbrake
|
||||||
gem 'airbrake'
|
gem 'airbrake'
|
||||||
|
|
||||||
# Deployment
|
|
||||||
gem 'capistrano', '~> 3.1'
|
|
||||||
gem 'capistrano-rails', '~> 1.1'
|
|
||||||
gem 'capistrano-rvm'
|
|
||||||
gem 'capistrano-passenger'
|
|
||||||
|
|
||||||
# Generate seed data
|
# Generate seed data
|
||||||
gem 'faker', '1.4.2'
|
gem 'faker', '1.4.2'
|
||||||
|
|
||||||
|
|
|
@ -6,3 +6,5 @@ server 'king.ugent.be', user: 'tab', roles: %w{web app db},
|
||||||
}
|
}
|
||||||
|
|
||||||
set :rails_env, 'production'
|
set :rails_env, 'production'
|
||||||
|
set :rbenv_type, :system
|
||||||
|
set :rbenv_ruby, File.read('.ruby-version').strip
|
||||||
|
|
Loading…
Reference in a new issue