質問編集履歴
2
gemfile追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -59,6 +59,32 @@
|
|
59
59
|
|
60
60
|
|
61
61
|
<追記>
|
62
|
+
|
63
|
+
紆余曲折あり、多少なりとも進んだのですが、今度は下記で躓きました。
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
LoadError: Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? can't activate sqlite3 (~> 1.4), already activated sqlite3-1.3.13. Make sure all dependencies are added to Gemfile.
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
バージョンが異なるということで、下記のサイトの通りするのですが、うまく起動しません。
|
72
|
+
|
73
|
+
https://qiita.com/Kta-M/items/254a1ba141827a989cb7
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
度々すみません。もしご存じでしたらご教示ください。
|
78
|
+
|
79
|
+
宜しくお願い致します。
|
80
|
+
|
81
|
+
またアドバイスでgemfileを見せてほしいとのお話がありましたので、
|
82
|
+
|
83
|
+
下記に添付いたします。
|
84
|
+
|
85
|
+
宜しくお願い致します。
|
86
|
+
|
87
|
+
|
62
88
|
|
63
89
|
```gemfile
|
64
90
|
|
1
gemfileを公開しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -55,3 +55,119 @@
|
|
55
55
|
どなたかおわかりの方おりませんでしょうか。
|
56
56
|
|
57
57
|
宜しくお願い致します。
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
<追記>
|
62
|
+
|
63
|
+
```gemfile
|
64
|
+
|
65
|
+
source 'https://rubygems.org'
|
66
|
+
|
67
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
ruby '2.6.5'
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
76
|
+
|
77
|
+
gem 'rails', '~> 6.0.0'
|
78
|
+
|
79
|
+
# Use sqlite3 as the database for Active Record
|
80
|
+
|
81
|
+
gem 'sqlite3', '~> 1.3.13'# Use Puma as the app server
|
82
|
+
|
83
|
+
gem 'puma', '~> 3.11'
|
84
|
+
|
85
|
+
# Use SCSS for stylesheets
|
86
|
+
|
87
|
+
gem 'sass-rails', '~> 5'
|
88
|
+
|
89
|
+
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
|
90
|
+
|
91
|
+
gem 'webpacker', '~> 4.0', github: "rails/webpacker"
|
92
|
+
|
93
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
94
|
+
|
95
|
+
gem 'turbolinks', '~> 5'
|
96
|
+
|
97
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
98
|
+
|
99
|
+
gem 'jbuilder', '~> 2.7'
|
100
|
+
|
101
|
+
# Use Redis adapter to run Action Cable in production
|
102
|
+
|
103
|
+
# gem 'redis', '~> 4.0'
|
104
|
+
|
105
|
+
# Use Active Model has_secure_password
|
106
|
+
|
107
|
+
# gem 'bcrypt', '~> 3.1.7'
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
# Use Active Storage variant
|
112
|
+
|
113
|
+
# gem 'image_processing', '~> 1.2'
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
118
|
+
|
119
|
+
gem 'tzinfo-data'
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
# Reduces boot times through caching; required in config/boot.rb
|
124
|
+
|
125
|
+
gem 'bootsnap', '>= 1.4.2', require: false
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
group :development, :test do
|
130
|
+
|
131
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
132
|
+
|
133
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
134
|
+
|
135
|
+
end
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
group :development do
|
140
|
+
|
141
|
+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
|
142
|
+
|
143
|
+
gem 'web-console', '>= 3.3.0'
|
144
|
+
|
145
|
+
end
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
group :test do
|
150
|
+
|
151
|
+
# Adds support for Capybara system testing and selenium driver
|
152
|
+
|
153
|
+
gem 'capybara', '>= 2.15'
|
154
|
+
|
155
|
+
gem 'selenium-webdriver'
|
156
|
+
|
157
|
+
# Easy installation and use of web drivers to run system tests with browsers
|
158
|
+
|
159
|
+
gem 'webdrivers'
|
160
|
+
|
161
|
+
end
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
```
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
このあたりを公開しても問題ないですよね?
|
170
|
+
|
171
|
+
セキュリティ的に問題なければ私は大丈夫なのですが。
|
172
|
+
|
173
|
+
宜しくお願い致します。
|