質問編集履歴
2
「試したこと」の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -104,7 +104,7 @@
|
|
104
104
|
|
105
105
|
|
106
106
|
|
107
|
-
そのあとに```rails s```を試したところ、最初のエラーの表示はなくなりましたがもっと大きなエラーになってしまいました...下記がその内容となります。
|
107
|
+
そのあとに```bundle update```を実行してから```rails s```を試したところ、最初のエラーの表示はなくなりましたがもっと大きなエラーになってしまいました...下記がその内容となります。
|
108
108
|
|
109
109
|
```
|
110
110
|
|
1
試した内容の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -70,27 +70,173 @@
|
|
70
70
|
|
71
71
|
### 試したこと
|
72
72
|
|
73
|
-
試した内容として下記のようにspring
|
74
|
-
|
75
|
-
```
|
76
|
-
|
77
|
-
ChisakinoMacBook-Pro:taskleaf Chisaki$ spring st
|
78
|
-
|
79
|
-
Sp
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
ba
|
73
|
+
試した内容として下記のように指定のあった```bundle exec spring binstub --all```を実行しました。
|
74
|
+
|
75
|
+
```
|
76
|
+
|
77
|
+
ChisakinoMacBook-Pro:taskleaf Chisaki$ bundle exec spring binstub --all
|
78
|
+
|
79
|
+
NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01.
|
80
|
+
|
81
|
+
Gem::Specification#rubyforge_project= called from /Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/specifications/archive-zip-0.12.0.gemspec:16.
|
82
|
+
|
83
|
+
NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01.
|
84
|
+
|
85
|
+
Gem::Specification#rubyforge_project= called from /Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/specifications/coffee-script-source-1.12.2.gemspec:16.
|
86
|
+
|
87
|
+
NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01.
|
88
|
+
|
89
|
+
Gem::Specification#rubyforge_project= called from /Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/specifications/coffee-rails-4.2.2.gemspec:16.
|
90
|
+
|
91
|
+
NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01.
|
92
|
+
|
93
|
+
Gem::Specification#rubyforge_project= called from /Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/specifications/sprockets-3.7.2.gemspec:19.
|
94
|
+
|
95
|
+
NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01.
|
96
|
+
|
97
|
+
Gem::Specification#rubyforge_project= called from /Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/specifications/sass-3.7.4.gemspec:21.
|
98
|
+
|
99
|
+
* bin/rake: Spring inserted
|
100
|
+
|
101
|
+
* bin/rails: Spring inserted
|
102
|
+
|
103
|
+
```
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
そのあとに```rails s```を試したところ、最初のエラーの表示はなくなりましたがもっと大きなエラーになってしまいました...下記がその内容となります。
|
108
|
+
|
109
|
+
```
|
110
|
+
|
111
|
+
ChisakinoMacBook-Pro:taskleaf Chisaki$ bin/rails s
|
112
|
+
|
113
|
+
NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01.
|
114
|
+
|
115
|
+
Gem::Specification#rubyforge_project= called from /Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/specifications/archive-zip-0.12.0.gemspec:16.
|
116
|
+
|
117
|
+
NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01.
|
118
|
+
|
119
|
+
Gem::Specification#rubyforge_project= called from /Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/specifications/coffee-script-source-1.12.2.gemspec:16.
|
120
|
+
|
121
|
+
NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01.
|
122
|
+
|
123
|
+
Gem::Specification#rubyforge_project= called from /Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/specifications/coffee-rails-4.2.2.gemspec:16.
|
124
|
+
|
125
|
+
NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01.
|
126
|
+
|
127
|
+
Gem::Specification#rubyforge_project= called from /Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/specifications/sprockets-3.7.2.gemspec:19.
|
128
|
+
|
129
|
+
NOTE: Gem::Specification#rubyforge_project= is deprecated with no replacement. It will be removed on or after 2019-12-01.
|
130
|
+
|
131
|
+
Gem::Specification#rubyforge_project= called from /Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/specifications/sass-3.7.4.gemspec:21.
|
132
|
+
|
133
|
+
Beginning in Rails 4, Rails ships with a `rails` binstub at ./bin/rails that
|
134
|
+
|
135
|
+
should be used instead of the Bundler-generated `rails` binstub.
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
If you are seeing this message, your binstub at ./bin/rails was generated by
|
140
|
+
|
141
|
+
Bundler instead of Rails.
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
You might need to regenerate your `rails` binstub locally and add it to source
|
146
|
+
|
147
|
+
control:
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
rails app:update:bin # Bear in mind this generates other binstubs
|
152
|
+
|
153
|
+
# too that you may or may not want (like yarn)
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
If you already have Rails binstubs in source control, you might be
|
158
|
+
|
159
|
+
inadverently overwriting them during deployment by using bundle install
|
160
|
+
|
161
|
+
with the --binstubs option.
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
If your application was created prior to Rails 4, here's how to upgrade:
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
bundle config --delete bin # Turn off Bundler's stub generator
|
170
|
+
|
171
|
+
rails app:update:bin # Use the new Rails executables
|
172
|
+
|
173
|
+
git add bin # Add bin/ to source control
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
You may need to remove bin/ from your .gitignore as well.
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
When you install a gem whose executable you want to use in your app,
|
182
|
+
|
183
|
+
generate it and add it to source control:
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
bundle binstubs some-gem-name
|
188
|
+
|
189
|
+
git add bin/new-executable
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
=> Booting Puma
|
194
|
+
|
195
|
+
=> Rails 5.2.4.2 application starting in development
|
196
|
+
|
197
|
+
=> Run `rails server -h` for more startup options
|
198
|
+
|
199
|
+
Exiting
|
200
|
+
|
201
|
+
You've tried to invoke Spring when it's already loaded (i.e. the Spring constant is defined).
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
This is probably because you generated binstubs with Spring 1.0, and you now have a Spring version > 1.0 on your system. To solve this, upgrade your bundle to the latest Spring version and then run `bundle exec spring binstub --all` to regenerate your binstubs. This is a one-time step necessary to upgrade from 1.0 to 1.1.
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
Here's the backtrace:
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
/Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:55:in `load'
|
214
|
+
|
215
|
+
/Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:55:in `load'
|
216
|
+
|
217
|
+
/Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:285:in `block in load'
|
218
|
+
|
219
|
+
/Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:257:in `load_dependency'
|
220
|
+
|
221
|
+
/Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.2.4.2/lib/active_support/dependencies.rb:285:in `load'
|
222
|
+
|
223
|
+
/Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
|
224
|
+
|
225
|
+
/Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:92:in `require'
|
226
|
+
|
227
|
+
/Users/Chisaki/.rbenv/versions/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:92:in `require'
|
228
|
+
|
229
|
+
/Users/Chisaki/Desktop/Rails/taskleaf/bin/spring:15:in `<top (required)>'
|
230
|
+
|
231
|
+
bin/rails:4:in `load'
|
232
|
+
|
233
|
+
bin/rails:4:in `<main>'
|
88
234
|
|
89
235
|
ChisakinoMacBook-Pro:taskleaf Chisaki$
|
90
236
|
|
91
237
|
```
|
92
238
|
|
93
|
-
|
239
|
+
エラー文の内容理解を試みましたが理解できませんでした...
|
94
240
|
|
95
241
|
|
96
242
|
|