From c0ae414e8f51988f254251f73f3e9165f02b35fb Mon Sep 17 00:00:00 2001 From: yafeilee Date: Fri, 29 Jul 2016 01:25:17 +0800 Subject: [PATCH] Add browser_warrior --- Gemfile | 1 + Gemfile.lock | 6 ++++++ config/deploy.rb | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 6dade48..fd94ce4 100644 --- a/Gemfile +++ b/Gemfile @@ -42,6 +42,7 @@ gem 'mina-multistage', require: false gem 'mina-sidekiq', require: false gem 'mina-puma', require: false gem 'mina-logs', require: false +gem 'browser_warrior' group :development do gem 'guard' diff --git a/Gemfile.lock b/Gemfile.lock index 43012f2..8c56bb1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -52,6 +52,11 @@ GEM babel-transpiler (0.7.0) babel-source (>= 4.0, < 6) execjs (~> 2.0) + browser (2.2.0) + browser_warrior (0.5.0) + browser + rails (~> 5.0) + sass-rails (~> 5.0) builder (3.2.2) byebug (9.0.5) capybara (2.7.1) @@ -329,6 +334,7 @@ PLATFORMS ruby DEPENDENCIES + browser_warrior byebug capybara carrierwave diff --git a/config/deploy.rb b/config/deploy.rb index 4fdd17b..267a4d2 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -15,7 +15,7 @@ require 'mina/logs' set :shared_paths, ['config/database.yml', 'config/application.yml', 'log', 'tmp', 'public/uploads', 'public/personal' ] task :environment do - invoke :'rvm:use[2.2.3]' + invoke :'rvm:use[2.3.1]' end task :setup => :environment do