質問編集履歴
1
Gemfileの内容追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -147,3 +147,121 @@
|
|
147
147
|
|
148
148
|
|
149
149
|
```
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
### 追加
|
154
|
+
|
155
|
+
Gemfile
|
156
|
+
|
157
|
+
```
|
158
|
+
|
159
|
+
source 'https://rubygems.org'
|
160
|
+
|
161
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
ruby '2.5.1'
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
170
|
+
|
171
|
+
gem 'rails', '~> 6.0.2', '>= 6.0.2.1'
|
172
|
+
|
173
|
+
# Use mysql as the database for Active Record
|
174
|
+
|
175
|
+
gem 'mysql2', '>= 0.4.4'
|
176
|
+
|
177
|
+
# Use Puma as the app server
|
178
|
+
|
179
|
+
gem 'puma', '~> 4.1'
|
180
|
+
|
181
|
+
# Use SCSS for stylesheets
|
182
|
+
|
183
|
+
gem 'sass-rails', '>= 6'
|
184
|
+
|
185
|
+
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
|
186
|
+
|
187
|
+
gem 'webpacker', '~> 4.0'
|
188
|
+
|
189
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
190
|
+
|
191
|
+
gem 'turbolinks', '~> 5'
|
192
|
+
|
193
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
194
|
+
|
195
|
+
gem 'jbuilder', '~> 2.7'
|
196
|
+
|
197
|
+
# Use Redis adapter to run Action Cable in production
|
198
|
+
|
199
|
+
# gem 'redis', '~> 4.0'
|
200
|
+
|
201
|
+
# Use Active Model has_secure_password
|
202
|
+
|
203
|
+
# gem 'bcrypt', '~> 3.1.7'
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
# Use Active Storage variant
|
208
|
+
|
209
|
+
# gem 'image_processing', '~> 1.2'
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
# Reduces boot times through caching; required in config/boot.rb
|
214
|
+
|
215
|
+
gem 'bootsnap', '>= 1.4.2', require: false
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
group :development, :test do
|
220
|
+
|
221
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
222
|
+
|
223
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
224
|
+
|
225
|
+
end
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
group :development do
|
230
|
+
|
231
|
+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
|
232
|
+
|
233
|
+
gem 'web-console', '>= 3.3.0'
|
234
|
+
|
235
|
+
gem 'listen', '>= 3.0.5', '< 3.2'
|
236
|
+
|
237
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
238
|
+
|
239
|
+
gem 'spring'
|
240
|
+
|
241
|
+
gem 'spring-watcher-listen', '~> 2.0.0'
|
242
|
+
|
243
|
+
end
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
group :test do
|
248
|
+
|
249
|
+
# Adds support for Capybara system testing and selenium driver
|
250
|
+
|
251
|
+
gem 'capybara', '>= 2.15'
|
252
|
+
|
253
|
+
gem 'selenium-webdriver'
|
254
|
+
|
255
|
+
# Easy installation and use of web drivers to run system tests with browsers
|
256
|
+
|
257
|
+
gem 'webdrivers'
|
258
|
+
|
259
|
+
end
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
264
|
+
|
265
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
266
|
+
|
267
|
+
```
|