update Gemfile
This commit is contained in:
2
Capfile
2
Capfile
@@ -35,7 +35,7 @@ install_plugin Capistrano::SCM::Git
|
|||||||
# require "capistrano/passenger"
|
# require "capistrano/passenger"
|
||||||
|
|
||||||
require 'capistrano/rails'
|
require 'capistrano/rails'
|
||||||
require 'capistrano/passenger'
|
#require 'capistrano/passenger'
|
||||||
|
|
||||||
require 'capistrano/rbenv'
|
require 'capistrano/rbenv'
|
||||||
set :rbenv_type, :user
|
set :rbenv_type, :user
|
||||||
|
|||||||
6
Gemfile
6
Gemfile
@@ -1,6 +1,7 @@
|
|||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
||||||
gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
|
gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
|
||||||
# Use sqlite3 as the database for Active Record
|
# Use sqlite3 as the database for Active Record
|
||||||
@@ -15,11 +16,12 @@ gem 'uglifier', '>= 1.3.0'
|
|||||||
gem 'coffee-rails', '~> 4.2'
|
gem 'coffee-rails', '~> 4.2'
|
||||||
# See https://github.com/rails/execjs#readme for more supported runtimes
|
# See https://github.com/rails/execjs#readme for more supported runtimes
|
||||||
# gem 'therubyracer', platforms: :ruby
|
# gem 'therubyracer', platforms: :ruby
|
||||||
|
gem 'unicorn'
|
||||||
|
gem 'execjs'
|
||||||
|
gem 'therubyracer'
|
||||||
platform :ruby do
|
platform :ruby do
|
||||||
gem 'pg'
|
gem 'pg'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Use jquery as the JavaScript library
|
# Use jquery as the JavaScript library
|
||||||
gem 'jquery-rails'
|
gem 'jquery-rails'
|
||||||
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
||||||
|
|||||||
@@ -16,7 +16,11 @@ set :full_app_name, "#{fetch(:application)}_#{fetch(:stage)}"
|
|||||||
|
|
||||||
|
|
||||||
server 'ec2-54-169-212-254.ap-southeast-1.compute.amazonaws.com', user: 'ubuntu', roles: %w{web app db}, primary: true
|
server 'ec2-54-169-212-254.ap-southeast-1.compute.amazonaws.com', user: 'ubuntu', roles: %w{web app db}, primary: true
|
||||||
ssh_options[:keys] = %w(ssh/nemo.pem)
|
set :ssh_options, {
|
||||||
|
keys: %w(/home/deploy/nemo_encoder/ssh/nemo.pem),
|
||||||
|
forward_agent: false,
|
||||||
|
user: 'ubuntu'
|
||||||
|
}
|
||||||
|
|
||||||
set :deploy_to, "/home/#{fetch(:deploy_user)}/apps/#{fetch(:full_app_name)}"
|
set :deploy_to, "/home/#{fetch(:deploy_user)}/apps/#{fetch(:full_app_name)}"
|
||||||
set :rbenv_ruby, '2.3.1'
|
set :rbenv_ruby, '2.3.1'
|
||||||
|
|||||||
Reference in New Issue
Block a user