質問するログイン新規登録

質問編集履歴

1

gemfileとgemlistの追加

2017/08/28 01:57

投稿

neko_53
neko_53

スコア75

title CHANGED
File without changes
body CHANGED
@@ -172,4 +172,167 @@
172
172
 
173
173
 
174
174
  ruby2.3.1
175
- OS Sierra10.12.5
175
+ OS Sierra10.12.5
176
+
177
+
178
+ 追記2017/08/28 10:48
179
+
180
+ gem listを見てみると以下のようになっていました。
181
+ ```ここに言語を入力
182
+ actionmailer (4.2.5.1)
183
+ actionpack (4.2.5.1)
184
+ actionview (4.2.5.1)
185
+ activejob (4.2.5.1)
186
+ activemodel (4.2.5.1)
187
+ activerecord (4.2.5.1)
188
+ activesupport (4.2.5.1)
189
+ arel (6.0.4)
190
+ bcrypt (3.1.11)
191
+ bigdecimal (1.2.8)
192
+ binding_of_caller (0.7.2)
193
+ builder (3.2.3)
194
+ bundler (1.15.4, 1.15.3)
195
+ byebug (9.0.6)
196
+ CFPropertyList (2.3.5)
197
+ coderay (1.1.1)
198
+ coffee-rails (4.1.1)
199
+ coffee-script (2.4.1)
200
+ coffee-script-source (1.12.2)
201
+ concurrent-ruby (1.0.5)
202
+ debug_inspector (0.0.3, 0.0.2)
203
+ devise (4.3.0)
204
+ did_you_mean (1.0.0)
205
+ erubis (2.7.0)
206
+ excon (0.55.0)
207
+ execjs (2.7.0)
208
+ ffi (1.9.18)
209
+ fission (0.5.0)
210
+ fog-core (1.43.0)
211
+ formatador (0.2.5)
212
+ globalid (0.4.0)
213
+ google-analytics-rails (1.1.0)
214
+ i18n (0.8.6, 0.8.1)
215
+ inflecto (0.0.2)
216
+ io-console (0.4.5)
217
+ ipaddress (0.8.3)
218
+ jbuilder (2.7.0)
219
+ jquery-rails (4.3.1)
220
+ json (1.8.6, 1.8.3)
221
+ loofah (2.0.3)
222
+ mail (2.6.6)
223
+ method_source (0.8.2)
224
+ mime-types (3.1)
225
+ mime-types-data (3.2016.0521)
226
+ mini_portile2 (2.2.0, 2.1.0)
227
+ minitest (5.10.3, 5.10.1, 5.8.3)
228
+ multi_json (1.12.1)
229
+ mysql2 (0.4.8)
230
+ net-telnet (0.1.1)
231
+ nokogiri (1.8.0, 1.7.1)
232
+ orm_adapter (0.5.0)
233
+ power_assert (0.2.6)
234
+ pry (0.10.4)
235
+ pry-rails (0.3.6)
236
+ psych (2.0.17)
237
+ rack (1.6.8, 1.6.5)
238
+ rack-test (0.6.3)
239
+ rails (4.2.5.1)
240
+ rails-deprecated_sanitizer (1.0.3)
241
+ rails-dom-testing (1.0.8)
242
+ rails-html-sanitizer (1.0.3)
243
+ rails_serve_static_assets (0.0.5)
244
+ rails_stdout_logging (0.0.5)
245
+ railties (4.2.5.1)
246
+ rake (12.0.0, 10.4.2)
247
+ rb-fsevent (0.10.2)
248
+ rb-inotify (0.9.10)
249
+ rdoc (4.3.0, 4.2.1)
250
+ responders (2.4.0)
251
+ rmagick (2.16.0)
252
+ sass (3.5.1, 3.4.23)
253
+ sass-listen (4.0.0)
254
+ sass-rails (5.0.6)
255
+ sdoc (0.4.2)
256
+ slop (3.6.0)
257
+ spring (2.0.2)
258
+ sprockets (3.7.1)
259
+ sprockets-rails (3.2.0)
260
+ test-unit (3.1.5)
261
+ thor (0.19.4)
262
+ thread_safe (0.3.6)
263
+ tilt (2.0.8, 2.0.7)
264
+ trollop (2.1.2)
265
+ turbolinks (5.0.1)
266
+ turbolinks-source (5.0.3, 5.0.0)
267
+ tzinfo (1.2.3)
268
+ uglifier (3.2.0, 3.1.13)
269
+ warden (1.2.7)
270
+ web-console (2.3.0)
271
+ xml-simple (1.1.5)
272
+ ```
273
+
274
+ mysqlが0.4.8になっているのですがこの場合gemfileのmysqlのバージョンを0.4.8に変更してbundle installすれば良いのでしょうか?
275
+ 一応、以下に現在のgemfileを添付します。
276
+
277
+ ```ここに言語を入力
278
+ source 'https://rubygems.org'
279
+
280
+ ruby '2.3.1'
281
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
282
+ gem 'rails', '4.2.5.1'
283
+ # Use mysql as the database for Active Record
284
+ gem 'mysql2', '0.3.18'
285
+ # Use SCSS for stylesheets
286
+ gem 'sass-rails', '~> 5.0'
287
+ # Use Uglifier as compressor for JavaScript assets
288
+ gem 'uglifier', '>= 1.3.0'
289
+ # Use CoffeeScript for .coffee assets and views
290
+ gem 'coffee-rails', '~> 4.1.0'
291
+ # See https://github.com/rails/execjs#readme for more supported runtimes
292
+ # gem 'therubyracer', platforms: :ruby
293
+
294
+ # Use jquery as the JavaScript library
295
+ gem 'jquery-rails'
296
+ # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
297
+ gem 'turbolinks'
298
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
299
+ gem 'jbuilder', '~> 2.0'
300
+ # bundle exec rake doc:rails generates the API under doc/api.
301
+ gem 'sdoc', '~> 0.4.0', group: :doc
302
+
303
+ # Use ActiveModel has_secure_password
304
+ # gem 'bcrypt', '~> 3.1.7'
305
+
306
+ # Use Unicorn as the app server
307
+ # gem 'unicorn'
308
+
309
+ # Use Capistrano for deployment
310
+ # gem 'capistrano-rails', group: :development
311
+
312
+ group :development, :test do
313
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
314
+ gem 'byebug'
315
+ end
316
+
317
+ group :development do
318
+ # Access an IRB console on exception pages or by using <%= console %> in views
319
+ gem 'web-console', '~> 2.0'
320
+
321
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
322
+ gem 'spring'
323
+ end
324
+ group :production, :staging do
325
+ gem 'rails_12factor'
326
+ end
327
+
328
+ gem 'devise'
329
+ gem 'carrierwave'
330
+ gem 'rmagick'
331
+ gem 'fog'
332
+ gem 'pry-rails'
333
+ gem 'google-analytics-rails'
334
+ gem 'payjp'
335
+
336
+ ```
337
+
338
+ よろしくお願いします。