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

質問編集履歴

3

i

2020/09/30 06:24

投稿

Meitoku
Meitoku

スコア44

title CHANGED
File without changes
body CHANGED
@@ -107,4 +107,12 @@
107
107
  group :production do
108
108
  gem 'unicorn', '5.4.1'
109
109
  end
110
+ ```
111
+
112
+ ```
113
+ RUBY VERSION
114
+ ruby 2.5.1p57
115
+
116
+ BUNDLED WITH
117
+ 2.1.4
110
118
  ```

2

f

2020/09/30 06:24

投稿

Meitoku
Meitoku

スコア44

title CHANGED
File without changes
body CHANGED
@@ -15,4 +15,96 @@
15
15
  ```
16
16
 
17
17
  gemやバージョン関係のエラーと考えていますが、どういったエラーなのでしょうか?
18
- 過去に余計にエラーを発生させてしまったことがあり、確信を持てないままデバッグするのが怖く、質問させていただきました
18
+ 過去に余計にエラーを発生させてしまったことがあり、確信を持てないままデバッグするのが怖く、質問させていただきました
19
+
20
+
21
+ Gemfile
22
+
23
+ ```
24
+ source 'https://rubygems.org'
25
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
26
+
27
+ ruby '2.5.1'
28
+
29
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
30
+ gem 'rails', '~> 5.2.3'
31
+ # Use mysql as the database for Active Record
32
+ gem 'mysql2', '0.5.2'
33
+ # Use Puma as the app server
34
+ gem 'puma', '~> 3.11'
35
+ # Use SCSS for stylesheets
36
+ gem 'sass-rails', '5.0.7'
37
+ # Use Uglifier as compressor for JavaScript assets
38
+ gem 'uglifier', '>= 1.3.0'
39
+ # See https://github.com/rails/execjs#readme for more supported runtimes
40
+ # gem 'mini_racer', platforms: :ruby
41
+
42
+ # Use CoffeeScript for .coffee assets and views
43
+ gem 'coffee-rails', '~> 4.2'
44
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
45
+ gem 'turbolinks', '~> 5'
46
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
47
+ gem 'jbuilder', '~> 2.5'
48
+ # Use Redis adapter to run Action Cable in production
49
+ # gem 'redis', '~> 4.0'
50
+ # Use ActiveModel has_secure_password
51
+ # gem 'bcrypt', '~> 3.1.7'
52
+
53
+ # Use ActiveStorage variant
54
+ # gem 'mini_magick', '~> 4.8'
55
+
56
+ # Use Capistrano for deployment
57
+ # gem 'capistrano-rails', group: :development
58
+
59
+ # Reduces boot times through caching; required in config/boot.rb
60
+ gem 'bootsnap', '>= 1.1.0', require: false
61
+
62
+ group :development, :test do
63
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
64
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
65
+ # gem 'capistrano'
66
+ # gem 'capistrano-rbenv'
67
+ # gem 'capistrano-bundler'
68
+ # gem 'capistrano-rails'
69
+ # gem 'capistrano3-unicorn'
70
+ end
71
+
72
+ group :development do
73
+ # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
74
+ gem 'web-console', '>= 3.3.0'
75
+ gem 'listen', '>= 3.0.5', '< 3.2'
76
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
77
+ gem 'spring'
78
+ gem 'spring-watcher-listen', '~> 2.0.0'
79
+ end
80
+
81
+ group :test do
82
+ # Adds support for Capybara system testing and selenium driver
83
+ gem 'capybara', '>= 2.15'
84
+ gem 'selenium-webdriver'
85
+ # Easy installation and use of chromedriver to run system tests with Chrome
86
+ gem 'chromedriver-helper'
87
+ end
88
+
89
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
90
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
91
+
92
+ gem 'pry-rails'
93
+ gem 'compass-rails', '3.1.0'
94
+ gem 'sprockets', '3.7.2'
95
+ gem 'kaminari'
96
+ gem 'jquery-rails'
97
+ gem 'fullcalendar-rails'
98
+ gem 'momentjs-rails'
99
+ gem 'rails-i18n'
100
+ gem 'devise'
101
+ gem 'carrierwave'
102
+ gem 'mini_magick'
103
+ gem "font-awesome-sass"
104
+ gem 'ancestry'
105
+ # gem 'fog-aws'
106
+
107
+ group :production do
108
+ gem 'unicorn', '5.4.1'
109
+ end
110
+ ```

1

rr

2020/09/30 06:17

投稿

Meitoku
Meitoku

スコア44

title CHANGED
File without changes
body CHANGED
@@ -7,11 +7,11 @@
7
7
 
8
8
  以下のエラーが発生してしまいます
9
9
  ```
10
- bundler: failed to load command: cap (/Users/katoukento/.rbenv/versions/2.5.1/bin/cap)
10
+ bundler: failed to load command: cap (/Users/user/.rbenv/versions/2.5.1/bin/cap)
11
11
  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?
12
- /Users/katoukento/.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'
12
+ /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'
13
- /Users/katoukento/.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'
13
+ /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'
14
- /Users/katoukento/.rbenv/versions/2.5.1/bin/cap:23:in `<top (required)>'
14
+ /Users/user/.rbenv/versions/2.5.1/bin/cap:23:in `<top (required)>'
15
15
  ```
16
16
 
17
17
  gemやバージョン関係のエラーと考えていますが、どういったエラーなのでしょうか?