質問編集履歴
4
コードの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -27,7 +27,7 @@
|
|
27
27
|
|
28
28
|
```
|
29
29
|
|
30
|
-
```
|
30
|
+
```gemfile
|
31
31
|
source 'https://rubygems.org'
|
32
32
|
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
33
33
|
|
3
コード追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -25,4 +25,90 @@
|
|
25
25
|
Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? sqlite3 is not part of the bundle. Add it to your Gemfile. (LoadError)
|
26
26
|
|
27
27
|
|
28
|
+
```
|
29
|
+
|
30
|
+
```ここに言語を入力
|
31
|
+
source 'https://rubygems.org'
|
32
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
33
|
+
|
34
|
+
ruby '2.5.1'
|
35
|
+
|
36
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
37
|
+
# gem 'rails', '~> 5.2.3'
|
38
|
+
gem 'rails', '~> 5.2.5'
|
39
|
+
# Use sqlite3 as the database for Active Record
|
40
|
+
# gem 'sqlite3'
|
41
|
+
# Use Puma as the app server
|
42
|
+
gem 'puma', '~> 3.11'
|
43
|
+
# gem 'puma'
|
44
|
+
# Use SCSS for stylesheets
|
45
|
+
gem 'sass-rails', '~> 5.0'
|
46
|
+
# gem 'sass-rails'
|
47
|
+
# Use Uglifier as compressor for JavaScript assets
|
48
|
+
gem 'uglifier', '>= 1.3.0'
|
49
|
+
# gem 'uglifier'
|
50
|
+
# See https://github.com/rails/execjs#readme for more supported runtimes
|
51
|
+
# gem 'mini_racer', platforms: :ruby
|
52
|
+
|
53
|
+
# Use CoffeeScript for .coffee assets and views
|
54
|
+
gem 'coffee-rails', '~> 4.2'
|
55
|
+
# gem 'coffee-rails'
|
56
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
57
|
+
gem 'turbolinks', '~> 5'
|
58
|
+
# gem 'turbolinks'
|
59
|
+
|
60
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
61
|
+
gem 'jbuilder', '~> 2.5'
|
62
|
+
# gem 'jbuilder'
|
63
|
+
# Use Redis adapter to run Action Cable in production
|
64
|
+
# gem 'redis', '~> 4.0'
|
65
|
+
# Use ActiveModel has_secure_password
|
66
|
+
# gem 'bcrypt', '~> 3.1.7'
|
67
|
+
|
68
|
+
# Use ActiveStorage variant
|
69
|
+
# gem 'mini_magick', '~> 4.8'
|
70
|
+
|
71
|
+
# Use Capistrano for deployment
|
72
|
+
# gem 'capistrano-rails', group: :development
|
73
|
+
|
74
|
+
# Reduces boot times through caching; required in config/boot.rb
|
75
|
+
gem 'bootsnap', '>= 1.1.0', require: false
|
76
|
+
# gem 'bootsnap', require: false
|
77
|
+
|
78
|
+
group :development, :test do
|
79
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
80
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
81
|
+
end
|
82
|
+
|
83
|
+
group :development do
|
84
|
+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
|
85
|
+
gem 'web-console', '>= 3.3.0'
|
86
|
+
# gem 'web-console'
|
87
|
+
gem 'listen', '>= 3.0.5', '< 3.2'
|
88
|
+
# gem 'listen'
|
89
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
90
|
+
gem 'spring'
|
91
|
+
gem 'spring-watcher-listen', '~> 2.0.0'
|
92
|
+
# gem 'spring-watcher-listen'
|
93
|
+
end
|
94
|
+
|
95
|
+
group :test do
|
96
|
+
# Adds support for Capybara system testing and selenium driver
|
97
|
+
gem 'capybara', '>= 2.15'
|
98
|
+
# gem 'capybara'
|
99
|
+
gem 'selenium-webdriver'
|
100
|
+
# Easy installation and use of chromedriver to run system tests with Chrome
|
101
|
+
gem 'chromedriver-helper'
|
102
|
+
end
|
103
|
+
|
104
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
105
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
106
|
+
|
107
|
+
|
108
|
+
gem 'font-awesome-sass'
|
109
|
+
|
110
|
+
#デプロイ用
|
111
|
+
gem 'sqlite3', group: [:development, :test]
|
112
|
+
|
113
|
+
gem "mimemagic", "~> 0.3.10"
|
28
114
|
```
|
2
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -21,7 +21,8 @@
|
|
21
21
|
|
22
22
|
|
23
23
|
```ここに言語を入力
|
24
|
-
/app/vendor/bundle/ruby/2.5.0/gems/bundler-2.2.16/lib/bundler/rubygems_integration.rb:334:in `block (2 levels) in replace_gem':
|
24
|
+
/app/vendor/bundle/ruby/2.5.0/gems/bundler-2.2.16/lib/bundler/rubygems_integration.rb:334:in `block (2 levels) in replace_gem':
|
25
|
+
Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? sqlite3 is not part of the bundle. Add it to your Gemfile. (LoadError)
|
25
26
|
|
26
27
|
|
27
28
|
```
|
1
説明変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -13,9 +13,9 @@
|
|
13
13
|
原因がわかりません。
|
14
14
|
ご教授のほどよろしくお願いします。
|
15
15
|
|
16
|
-
ruby のバージョンが古いのが関係溶かしてくるのでしょうか?
|
17
16
|
|
18
17
|
|
18
|
+
|
19
19
|
- ruby 2.5.1
|
20
20
|
- rails 5.2.5
|
21
21
|
|