Commit 27a7d4d
Changed files (4)
config/deploy/local.rb
@@ -0,0 +1,3 @@
+server '172.16.190.245', user: 'vagrant', roles: %w{web app}
+
+set :rails_env, 'production'
config/deploy.rb
@@ -3,8 +3,8 @@ lock "3.4.0"
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
set :application, "stronglifters"
-set :repo_url, "git@github.com:stronglifters/surface.git"
-set :branch, "master"
+#set :repo_url, "git@github.com:stronglifters/surface.git"
+#set :branch, "master"
# Default branch is :master
# ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp
@@ -21,7 +21,7 @@ set :bucket_name, "stronglifters"
# set :format, :pretty
# Default value for :log_level is :debug
-# set :log_level, :debug
+set :log_level, :warn
# Default value for :pty is false
# set :pty, true
@@ -54,12 +54,13 @@ else
set :ssh_options, forward_agent: true
end
set :rbenv_type, :system
-set :rbenv_ruby, "2.2.2"
+set :rbenv_ruby, "2.2.3"
namespace :deploy do
task :restart do
on roles(:web), in: :groups, limit: 3, wait: 10 do
execute :service, "puma restart"
+ #execute :sv, "reload puma"
end
end
Gemfile
@@ -1,11 +1,10 @@
source 'https://rubygems.org'
-ruby '2.2.2'
+ruby '2.2.3'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 4.2'
# Use postgresql as the database for Active Record
gem 'pg'
-gem 'sqlite3'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
Gemfile.lock
@@ -305,7 +305,6 @@ GEM
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
- sqlite3 (1.3.10)
sshkit (1.7.1)
colorize (>= 0.7.0)
net-scp (>= 1.1.2)
@@ -405,7 +404,6 @@ DEPENDENCIES
spring
spring-commands-rspec
spring-commands-teaspoon
- sqlite3
stackprof
teaspoon-jasmine
therubyracer
@@ -414,4 +412,4 @@ DEPENDENCIES
web-console (~> 2.0)
BUNDLED WITH
- 1.10.3
+ 1.10.6