質問編集履歴
2
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
##発生している問題・エラーメッセージ
|
6
6
|
ターミナルにて
|
7
|
+
rails g controller shift_hopes indexコマンド実行
|
7
8
|
```
|
8
9
|
〜.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:312:in `check_for_activated_spec!': You have already activated bundler 2.2.11, but your Gemfile requires bundler 2.1.4. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
|
9
10
|
|
@@ -33,11 +34,6 @@
|
|
33
34
|
/.rbenv/versions/2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
|
34
35
|
from -e:1:in `<main>'
|
35
36
|
```
|
36
|
-
##該当のソースコード
|
37
|
-
```
|
38
|
-
rails g controller shift_hopes index
|
39
|
-
```
|
40
|
-
こちら実行した際に発生
|
41
37
|
|
42
38
|
##試したこと
|
43
39
|
ターミナル上で、bundle execつけて実行してみてと言われたので
|
1
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -6,20 +6,7 @@
|
|
6
6
|
ターミナルにて
|
7
7
|
```
|
8
8
|
〜.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:312:in `check_for_activated_spec!': You have already activated bundler 2.2.11, but your Gemfile requires bundler 2.1.4. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
|
9
|
-
```
|
10
|
-
##該当のソースコード
|
11
|
-
```
|
12
|
-
rails g controller shift_hopes index
|
13
|
-
```
|
14
|
-
こちら実行した際に発生
|
15
9
|
|
16
|
-
##試したこと
|
17
|
-
ターミナル上で、bundle execつけて実行してみてと言われたので試しましたが変わらず。
|
18
|
-
その他、ググってみてbundle updateをしてみましたが変わらず
|
19
|
-
助けてください!!
|
20
|
-
##補足情報
|
21
|
-
以下、rails g controller shift_hopes index実行時のターミナルです
|
22
|
-
```
|
23
10
|
/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:31:in `block in setup'
|
24
11
|
/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/spec_set.rb:147:in `each'
|
25
12
|
/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/spec_set.rb:147:in `each'
|
@@ -45,4 +32,16 @@
|
|
45
32
|
/.rbenv/versions/2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
|
46
33
|
/.rbenv/versions/2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
|
47
34
|
from -e:1:in `<main>'
|
48
|
-
```
|
35
|
+
```
|
36
|
+
##該当のソースコード
|
37
|
+
```
|
38
|
+
rails g controller shift_hopes index
|
39
|
+
```
|
40
|
+
こちら実行した際に発生
|
41
|
+
|
42
|
+
##試したこと
|
43
|
+
ターミナル上で、bundle execつけて実行してみてと言われたので
|
44
|
+
bundle exec rails g controller shift_hopes index
|
45
|
+
を実行してみたが同様のエラーが出ます
|
46
|
+
その他、ググってみてbundle updateをしてみましたが変わらず
|
47
|
+
助けてください
|