Commit 34ea008

mo <mo.khan@gmail.com>
2018-04-14 23:40:01
install rails 5 gems.
1 parent 2cfbf87
Changed files (3)
config/boot.rb
@@ -3,3 +3,4 @@
 ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
 
 require 'bundler/setup' # Set up gems listed in the Gemfile.
+require 'bootsnap/setup' # Speed up boot time by caching expensive operations.
Gemfile
@@ -1,23 +1,19 @@
 # frozen_string_literal: true
 
 source 'https://rubygems.org'
+git_source(:github) { |repo| "https://github.com/#{repo}.git" }
 ruby '2.5.1'
 
-git_source(:github) do |repo_name|
-  repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
-  "https://github.com/#{repo_name}.git"
-end
-
 gem 'activerecord-session_store'
 gem 'bcrypt', '~> 3.1.7'
-gem 'bootsnap'
+gem 'bootsnap', '>= 1.1.0', require: false
 gem 'coffee-rails', '~> 4.2'
 gem 'dotenv'
 gem 'email_validator'
 gem 'foreman'
 gem 'jbuilder', '~> 2.5'
 gem 'jwt'
-gem 'puma', '~> 3.7'
+gem 'puma', '~> 3.11'
 gem 'rails', '~> 5.2.0'
 gem 'rotp'
 gem 'saml-kit', '~> 1.0'
@@ -39,8 +35,9 @@ end
 
 group :development, :test do
   gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
-  gem 'capybara', '~> 2.13'
+  gem 'capybara', '>= 2.15', '< 4.0'
   gem 'capybara-screenshot'
+  gem 'chromedriver-helper'
   gem 'factory_bot_rails'
   gem 'ffaker'
   gem 'rails-controller-testing'
Gemfile.lock
@@ -50,6 +50,8 @@ GEM
       tzinfo (~> 1.1)
     addressable (2.5.2)
       public_suffix (>= 2.0.2, < 4.0)
+    archive-zip (0.11.0)
+      io-like (~> 0.3.0)
     arel (9.0.0)
     ast (2.4.0)
     bcrypt (3.1.11)
@@ -74,6 +76,9 @@ GEM
       launchy
     childprocess (0.9.0)
       ffi (~> 1.0, >= 1.0.11)
+    chromedriver-helper (1.2.0)
+      archive-zip (~> 0.10)
+      nokogiri (~> 1.8)
     coffee-rails (4.2.2)
       coffee-script (>= 2.2.0)
       railties (>= 4.0.0)
@@ -105,6 +110,7 @@ GEM
     hashdiff (0.3.7)
     i18n (1.0.0)
       concurrent-ruby (~> 1.0)
+    io-like (0.3.0)
     jbuilder (2.7.0)
       activesupport (>= 4.2.0)
       multi_json (>= 1.2)
@@ -286,12 +292,13 @@ PLATFORMS
 DEPENDENCIES
   activerecord-session_store
   bcrypt (~> 3.1.7)
-  bootsnap
+  bootsnap (>= 1.1.0)
   brakeman
   bundler-audit
   byebug
-  capybara (~> 2.13)
+  capybara (>= 2.15, < 4.0)
   capybara-screenshot
+  chromedriver-helper
   coffee-rails (~> 4.2)
   dotenv
   email_validator
@@ -302,7 +309,7 @@ DEPENDENCIES
   jwt
   listen (>= 3.0.5, < 3.2)
   pg
-  puma (~> 3.7)
+  puma (~> 3.11)
   rails (~> 5.2.0)
   rails-controller-testing
   rails_12factor