Un-comment remaining Gemfile
dependencies
In the spirit of this project’s rules :
Once the rails new command completes, the project is forbidden from
adding or removing a Rubygems, NPM, or Yarn dependency.
This commit installs the exceptions to that rule:
The only exceptions to this rule are dependencies in our
Gemfile
that were introduced by a rails new
command. For example,
the bcrypt
gem , the image_processing
gem , and the redis
gem can be made
available as dependencies, since they’re generated by rails new
as
commented-out lines in the Gemfile
.
To get those dependencies out of the way, this commit pre-emptively
installs them, closing the door on future dependencies.
Collapse Gemfile
Expand Gemfile
Gemfile
diff --git a/Gemfile b/Gemfile
index 11c43fb..60d75e9 100644
--- a/Gemfile
+++ b/Gemfile
@@ -18,12 +18,12 @@ gem 'turbolinks', '~> 5'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.7'
# Use Redis adapter to run Action Cable in production
-# gem 'redis', '~> 4.0'
+gem 'redis', '~> 4.0'
# Use Active Model has_secure_password
-# gem 'bcrypt', '~> 3.1.7'
+gem 'bcrypt', '~> 3.1.7'
# Use Active Storage variant
-# gem 'image_processing', '~> 1.2'
+gem 'image_processing', '~> 1.2'
# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', '>= 1.4.2', require: false
Collapse Gemfile.lock
Expand Gemfile.lock
Gemfile.lock
diff --git a/Gemfile.lock b/Gemfile.lock
index 3c574ea..1cdce9a 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -58,6 +58,7 @@ GEM
zeitwerk (~> 2.2)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
+ bcrypt (3.1.13)
bindex (0.8.1)
bootsnap (1.4.6)
msgpack (~> 1.0)
@@ -80,6 +81,9 @@ GEM
activesupport (>= 4.2.0)
i18n (1.8.2)
concurrent-ruby (~> 1.0)
+ image_processing (1.10.3)
+ mini_magick (>= 4.9.5, < 5)
+ ruby-vips (>= 2.0.17, < 3)
jbuilder (2.10.0)
activesupport (>= 5.0.0)
listen (3.1.5)
@@ -95,6 +99,7 @@ GEM
mimemagic (~> 0.3.2)
method_source (1.0.0)
mimemagic (0.3.4)
+ mini_magick (4.10.1)
mini_mime (1.0.2)
mini_portile2 (2.4.0)
minitest (5.14.0)
@@ -140,7 +145,10 @@ GEM
rb-fsevent (0.10.3)
rb-inotify (0.10.1)
ffi (~> 1.0)
+ redis (4.1.3)
regexp_parser (1.7.0)
+ ruby-vips (2.0.17)
+ ffi (~> 1.9)
ruby_dep (1.5.0)
rubyzip (2.3.0)
sass-rails (6.0.0)
@@ -200,13 +208,16 @@ PLATFORMS
ruby
DEPENDENCIES
+ bcrypt (~> 3.1.7)
bootsnap (>= 1.4.2)
byebug
capybara (>= 2.15)
+ image_processing (~> 1.2)
jbuilder (~> 2.7)
listen (>= 3.0.5, < 3.2)
puma (~> 4.1)
rails (~> 6.0.2, >= 6.0.2.2)
+ redis (~> 4.0)
sass-rails (>= 6)
selenium-webdriver
spring