質問編集履歴
1
gem install sinatra 実行後の挙動について
test
CHANGED
File without changes
|
test
CHANGED
@@ -309,3 +309,45 @@
|
|
309
309
|
|
310
310
|
|
311
311
|
よろしくお願いいたします。
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
---------------gem install sinatra 実行後にサーバ起動 2020/10/13 15:00追記------------------
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
該当コマンド実行後、同じようにサーバを実行しようとすると、別のエラーが出てきてしまいました。エラーの内容はこちらになります。
|
320
|
+
|
321
|
+
```
|
322
|
+
|
323
|
+
[2020-10-13 14:57:34] INFO WEBrick 1.6.1
|
324
|
+
|
325
|
+
[2020-10-13 14:57:34] INFO ruby 2.7.2 (2020-10-01) [x86_64-darwin19]
|
326
|
+
|
327
|
+
Traceback (most recent call last):
|
328
|
+
|
329
|
+
11: from /Users/isonoyuma/.rvm/gems/ruby-2.7.2/gems/sinatra-2.1.0/lib/sinatra/main.rb:45:in `block in <module:Sinatra>'
|
330
|
+
|
331
|
+
10: from /Users/isonoyuma/.rvm/gems/ruby-2.7.2/gems/sinatra-2.1.0/lib/sinatra/base.rb:1499:in `run!'
|
332
|
+
|
333
|
+
9: from /Users/isonoyuma/.rvm/gems/ruby-2.7.2/gems/sinatra-2.1.0/lib/sinatra/base.rb:1565:in `start_server'
|
334
|
+
|
335
|
+
8: from /Users/isonoyuma/.rvm/gems/ruby-2.7.2/gems/rack-2.2.3/lib/rack/handler/webrick.rb:38:in `run'
|
336
|
+
|
337
|
+
7: from /Users/isonoyuma/.rvm/gems/ruby-2.7.2/gems/rack-2.2.3/lib/rack/handler/webrick.rb:38:in `new'
|
338
|
+
|
339
|
+
6: from /Users/isonoyuma/.rvm/gems/ruby-2.7.2/gems/webrick-1.6.1/lib/webrick/httpserver.rb:47:in `initialize'
|
340
|
+
|
341
|
+
5: from /Users/isonoyuma/.rvm/gems/ruby-2.7.2/gems/webrick-1.6.1/lib/webrick/server.rb:108:in `initialize'
|
342
|
+
|
343
|
+
4: from /Users/isonoyuma/.rvm/gems/ruby-2.7.2/gems/webrick-1.6.1/lib/webrick/server.rb:127:in `listen'
|
344
|
+
|
345
|
+
3: from /Users/isonoyuma/.rvm/gems/ruby-2.7.2/gems/webrick-1.6.1/lib/webrick/utils.rb:65:in `create_listeners'
|
346
|
+
|
347
|
+
2: from /Users/isonoyuma/.rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/socket.rb:763:in `tcp_server_sockets'
|
348
|
+
|
349
|
+
1: from /Users/isonoyuma/.rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/socket.rb:227:in `foreach'
|
350
|
+
|
351
|
+
/Users/isonoyuma/.rvm/rubies/ruby-2.7.2/lib/ruby/2.7.0/socket.rb:227:in `getaddrinfo': getaddrinfo: nodename nor servname provided, or not known (SocketError)
|
352
|
+
|
353
|
+
```
|