質問編集履歴
3
i
test
CHANGED
File without changes
|
test
CHANGED
@@ -217,3 +217,19 @@
|
|
217
217
|
end
|
218
218
|
|
219
219
|
```
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
```
|
224
|
+
|
225
|
+
RUBY VERSION
|
226
|
+
|
227
|
+
ruby 2.5.1p57
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
BUNDLED WITH
|
232
|
+
|
233
|
+
2.1.4
|
234
|
+
|
235
|
+
```
|
2
f
test
CHANGED
File without changes
|
test
CHANGED
@@ -33,3 +33,187 @@
|
|
33
33
|
gemやバージョン関係のエラーと考えていますが、どういったエラーなのでしょうか?
|
34
34
|
|
35
35
|
過去に余計にエラーを発生させてしまったことがあり、確信を持てないままデバッグするのが怖く、質問させていただきました
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
Gemfile
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
```
|
46
|
+
|
47
|
+
source 'https://rubygems.org'
|
48
|
+
|
49
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
ruby '2.5.1'
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
58
|
+
|
59
|
+
gem 'rails', '~> 5.2.3'
|
60
|
+
|
61
|
+
# Use mysql as the database for Active Record
|
62
|
+
|
63
|
+
gem 'mysql2', '0.5.2'
|
64
|
+
|
65
|
+
# Use Puma as the app server
|
66
|
+
|
67
|
+
gem 'puma', '~> 3.11'
|
68
|
+
|
69
|
+
# Use SCSS for stylesheets
|
70
|
+
|
71
|
+
gem 'sass-rails', '5.0.7'
|
72
|
+
|
73
|
+
# Use Uglifier as compressor for JavaScript assets
|
74
|
+
|
75
|
+
gem 'uglifier', '>= 1.3.0'
|
76
|
+
|
77
|
+
# See https://github.com/rails/execjs#readme for more supported runtimes
|
78
|
+
|
79
|
+
# gem 'mini_racer', platforms: :ruby
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
# Use CoffeeScript for .coffee assets and views
|
84
|
+
|
85
|
+
gem 'coffee-rails', '~> 4.2'
|
86
|
+
|
87
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
88
|
+
|
89
|
+
gem 'turbolinks', '~> 5'
|
90
|
+
|
91
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
92
|
+
|
93
|
+
gem 'jbuilder', '~> 2.5'
|
94
|
+
|
95
|
+
# Use Redis adapter to run Action Cable in production
|
96
|
+
|
97
|
+
# gem 'redis', '~> 4.0'
|
98
|
+
|
99
|
+
# Use ActiveModel has_secure_password
|
100
|
+
|
101
|
+
# gem 'bcrypt', '~> 3.1.7'
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
# Use ActiveStorage variant
|
106
|
+
|
107
|
+
# gem 'mini_magick', '~> 4.8'
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
# Use Capistrano for deployment
|
112
|
+
|
113
|
+
# gem 'capistrano-rails', group: :development
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
# Reduces boot times through caching; required in config/boot.rb
|
118
|
+
|
119
|
+
gem 'bootsnap', '>= 1.1.0', require: false
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
group :development, :test do
|
124
|
+
|
125
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
126
|
+
|
127
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
128
|
+
|
129
|
+
# gem 'capistrano'
|
130
|
+
|
131
|
+
# gem 'capistrano-rbenv'
|
132
|
+
|
133
|
+
# gem 'capistrano-bundler'
|
134
|
+
|
135
|
+
# gem 'capistrano-rails'
|
136
|
+
|
137
|
+
# gem 'capistrano3-unicorn'
|
138
|
+
|
139
|
+
end
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
group :development do
|
144
|
+
|
145
|
+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
|
146
|
+
|
147
|
+
gem 'web-console', '>= 3.3.0'
|
148
|
+
|
149
|
+
gem 'listen', '>= 3.0.5', '< 3.2'
|
150
|
+
|
151
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
152
|
+
|
153
|
+
gem 'spring'
|
154
|
+
|
155
|
+
gem 'spring-watcher-listen', '~> 2.0.0'
|
156
|
+
|
157
|
+
end
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
group :test do
|
162
|
+
|
163
|
+
# Adds support for Capybara system testing and selenium driver
|
164
|
+
|
165
|
+
gem 'capybara', '>= 2.15'
|
166
|
+
|
167
|
+
gem 'selenium-webdriver'
|
168
|
+
|
169
|
+
# Easy installation and use of chromedriver to run system tests with Chrome
|
170
|
+
|
171
|
+
gem 'chromedriver-helper'
|
172
|
+
|
173
|
+
end
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
178
|
+
|
179
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
gem 'pry-rails'
|
184
|
+
|
185
|
+
gem 'compass-rails', '3.1.0'
|
186
|
+
|
187
|
+
gem 'sprockets', '3.7.2'
|
188
|
+
|
189
|
+
gem 'kaminari'
|
190
|
+
|
191
|
+
gem 'jquery-rails'
|
192
|
+
|
193
|
+
gem 'fullcalendar-rails'
|
194
|
+
|
195
|
+
gem 'momentjs-rails'
|
196
|
+
|
197
|
+
gem 'rails-i18n'
|
198
|
+
|
199
|
+
gem 'devise'
|
200
|
+
|
201
|
+
gem 'carrierwave'
|
202
|
+
|
203
|
+
gem 'mini_magick'
|
204
|
+
|
205
|
+
gem "font-awesome-sass"
|
206
|
+
|
207
|
+
gem 'ancestry'
|
208
|
+
|
209
|
+
# gem 'fog-aws'
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
group :production do
|
214
|
+
|
215
|
+
gem 'unicorn', '5.4.1'
|
216
|
+
|
217
|
+
end
|
218
|
+
|
219
|
+
```
|
1
rr
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,15 +16,15 @@
|
|
16
16
|
|
17
17
|
```
|
18
18
|
|
19
|
-
bundler: failed to load command: cap (/Users/
|
19
|
+
bundler: failed to load command: cap (/Users/user/.rbenv/versions/2.5.1/bin/cap)
|
20
20
|
|
21
21
|
Gem::Exception: can't find executable cap for gem capistrano. capistrano is not currently included in the bundle, perhaps you meant to add it to your Gemfile?
|
22
22
|
|
23
|
-
/Users/
|
23
|
+
/Users/user/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-2.1.4/lib/bundler/rubygems_integration.rb:374:in `block in replace_bin_path'
|
24
24
|
|
25
|
-
/Users/
|
25
|
+
/Users/user/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-2.1.4/lib/bundler/rubygems_integration.rb:402:in `block in replace_bin_path'
|
26
26
|
|
27
|
-
/Users/
|
27
|
+
/Users/user/.rbenv/versions/2.5.1/bin/cap:23:in `<top (required)>'
|
28
28
|
|
29
29
|
```
|
30
30
|
|