Bug 50214 - Не работает rubygems-server
Summary: Не работает rubygems-server
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: gem-rubygems-server (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: majioa@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-27 17:27 MSK by Савелий Солдатов
Modified: 2024-04-27 17:45 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Савелий Солдатов 2024-04-27 17:27:01 MSK
Не работает rubygems-server

Версия программы:
=================
gem-rubygems-server-0.3.0-alt1.1.noarch

Шаги, приводящие к ошибке:
==========================
1)# apt-get install gem-rubygems-server
2)$ cat > test.rb <<EOF
require 'rubygems/server' 
gem_server = Gem::Server.new Gem.dir, 8089, false
gem_server.run
EOF
3)$ ruby test.rb
4)Зайти на сайт -> http://<IP>:8089/gems/ 

Результат:
==========
Not Found
Аналогично и для /quick/

Ожидаемый результат:
====================
Открылась страница для скачивания гемов
Comment 1 Савелий Солдатов 2024-04-27 17:45:03 MSK
Лог консоли сервера:

127.0.0.1 - - [27/Apr/2024:17:43:43 MSK] "GET / HTTP/1.1" 200 33058
- -> /
127.0.0.1 - - [27/Apr/2024:17:43:43 MSK] "GET /gem-server-rdoc-style.css HTTP/1.1" 200 4313
http://0.0.0.0:8089/ -> /gem-server-rdoc-style.css
127.0.0.1 - - [27/Apr/2024:17:43:47 MSK] "GET /gems/ HTTP/1.1" 404 273
- -> /gems/
127.0.0.1 - - [27/Apr/2024:17:43:49 MSK] "GET /gems/ HTTP/1.1" 404 273
- -> /gems/