質問編集履歴
3
gem 'rails-i18n' と'bcrypt'の前に#を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -238,9 +238,9 @@
|
|
238
238
|
|
239
239
|
|
240
240
|
|
241
|
-
gem 'rails-i18n'
|
241
|
+
#gem 'rails-i18n'
|
242
|
-
|
242
|
+
|
243
|
-
gem 'bcrypt'
|
243
|
+
#gem 'bcrypt'
|
244
244
|
|
245
245
|
```
|
246
246
|
|
2
``` でコードの表示を見やすく編集
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,6 +36,8 @@
|
|
36
36
|
|
37
37
|
<database.yml>
|
38
38
|
|
39
|
+
```
|
40
|
+
|
39
41
|
# SQLite version 3.x
|
40
42
|
|
41
43
|
# gem install sqlite3
|
@@ -88,13 +90,17 @@
|
|
88
90
|
|
89
91
|
encoding: unicode
|
90
92
|
|
91
|
-
pool: 5
|
93
|
+
pool: 5"
|
94
|
+
|
95
|
+
```
|
92
96
|
|
93
97
|
|
94
98
|
|
95
99
|
<Gemfile>
|
96
100
|
|
101
|
+
```
|
102
|
+
|
97
|
-
source 'https://rubygems.org'
|
103
|
+
> source 'https://rubygems.org'
|
98
104
|
|
99
105
|
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
100
106
|
|
@@ -222,13 +228,7 @@
|
|
222
228
|
|
223
229
|
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
224
230
|
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
231
|
+
```
|
232
232
|
|
233
233
|
|
234
234
|
|
@@ -242,7 +242,7 @@
|
|
242
242
|
|
243
243
|
gem 'bcrypt'
|
244
244
|
|
245
|
-
|
245
|
+
```
|
246
246
|
|
247
247
|
```ここに言語名を入力
|
248
248
|
|
1
Gemfileのコードを追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,6 +34,8 @@
|
|
34
34
|
|
35
35
|
### 該当のソースコード
|
36
36
|
|
37
|
+
<database.yml>
|
38
|
+
|
37
39
|
# SQLite version 3.x
|
38
40
|
|
39
41
|
# gem install sqlite3
|
@@ -90,6 +92,158 @@
|
|
90
92
|
|
91
93
|
|
92
94
|
|
95
|
+
<Gemfile>
|
96
|
+
|
97
|
+
source 'https://rubygems.org'
|
98
|
+
|
99
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
ruby '2.3.3'
|
104
|
+
|
105
|
+
gem "jquery-rails"
|
106
|
+
|
107
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
108
|
+
|
109
|
+
gem 'rails', '~> 5.2.0'
|
110
|
+
|
111
|
+
# Use sqlite3 as the database for Active Record
|
112
|
+
|
113
|
+
gem 'sqlite3', group: :development
|
114
|
+
|
115
|
+
# 本番ではpostgressを使用する
|
116
|
+
|
117
|
+
gem 'pg', group: :production
|
118
|
+
|
119
|
+
# Use Puma as the app server
|
120
|
+
|
121
|
+
gem 'puma', '~> 3.11'
|
122
|
+
|
123
|
+
# Use SCSS for stylesheets
|
124
|
+
|
125
|
+
gem 'sass-rails', '~> 5.0'
|
126
|
+
|
127
|
+
# Use Uglifier as compressor for JavaScript assets
|
128
|
+
|
129
|
+
gem 'uglifier', '>= 1.3.0'
|
130
|
+
|
131
|
+
# See https://github.com/rails/execjs#readme for more supported runtimes
|
132
|
+
|
133
|
+
# gem 'mini_racer', platforms: :ruby
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
# Use CoffeeScript for .coffee assets and views
|
138
|
+
|
139
|
+
gem 'coffee-rails', '~> 4.2'
|
140
|
+
|
141
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
142
|
+
|
143
|
+
gem 'turbolinks', '~> 5'
|
144
|
+
|
145
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
146
|
+
|
147
|
+
gem 'jbuilder', '~> 2.5'
|
148
|
+
|
149
|
+
# Use Redis adapter to run Action Cable in production
|
150
|
+
|
151
|
+
# gem 'redis', '~> 4.0'
|
152
|
+
|
153
|
+
# Use ActiveModel has_secure_password
|
154
|
+
|
155
|
+
# gem 'bcrypt', '~> 3.1.7'
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
# Use ActiveStorage variant
|
160
|
+
|
161
|
+
# gem 'mini_magick', '~> 4.8'
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
# Use Capistrano for deployment
|
166
|
+
|
167
|
+
# gem 'capistrano-rails', group: :development
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
# Reduces boot times through caching; required in config/boot.rb
|
172
|
+
|
173
|
+
gem 'bootsnap', '>= 1.1.0', require: false
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
group :development, :test do
|
178
|
+
|
179
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
180
|
+
|
181
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
182
|
+
|
183
|
+
end
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
group :development do
|
188
|
+
|
189
|
+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
|
190
|
+
|
191
|
+
gem 'web-console', '>= 3.3.0'
|
192
|
+
|
193
|
+
gem 'listen', '>= 3.0.5', '< 3.2'
|
194
|
+
|
195
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
196
|
+
|
197
|
+
gem 'spring'
|
198
|
+
|
199
|
+
gem 'spring-watcher-listen', '~> 2.0.0'
|
200
|
+
|
201
|
+
end
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
group :test do
|
206
|
+
|
207
|
+
# Adds support for Capybara system testing and selenium driver
|
208
|
+
|
209
|
+
gem 'capybara', '>= 2.15', '< 4.0'
|
210
|
+
|
211
|
+
gem 'selenium-webdriver'
|
212
|
+
|
213
|
+
# Easy installation and use of chromedriver to run system tests with Chrome
|
214
|
+
|
215
|
+
gem 'chromedriver-helper'
|
216
|
+
|
217
|
+
end
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
222
|
+
|
223
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
#bootstrap導入
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
#gem 'sass-rails', '>= 3.2'
|
236
|
+
|
237
|
+
#gem 'bootstrap-sass', '~> 3.3.6'
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
gem 'rails-i18n'
|
242
|
+
|
243
|
+
gem 'bcrypt'
|
244
|
+
|
245
|
+
|
246
|
+
|
93
247
|
```ここに言語名を入力
|
94
248
|
|
95
249
|
ソースコード
|