Hi,

Please note that the mirror-web project contains a set of rules and templates 
to generate frontend stuffs. It is not for providing a service independently. 

For the first scenario, I believe the failure is because your ruby installation 
does not include necessary header files for building ruby gem modules. If you 
would like simple, I recommend using the docker image. Your execution of the 
docker image is correct. After the execution, the generated files can be found 
at /path/to/mirror-web/_site, as indicated by the output.

Cheers,

Miao Wang

> 2022年03月01日 15:25,zhangqichen <17852657...@163.com> 写道:
> 
> 
> 
> 
> 
> 
> 
> -------- Forwarding messages --------
> From: "zhangqichen" <17852657...@163.com>
> Date: 2022-03-01 15:19:46
> To: tuna-general@googlegroups.com
> Subject: Re:Re: [tuna-general] WANTED HELP
> Hi,
> 
> I encountered two situations and didn't know how to solve them.
> 
> + standalone version
> 
> ```
> [root@oe85 ~]# cat /etc/system-release;arch
> openEuler release 20.03 (LTS-SP1)
> aarch64
> [root@oe85 ~]# ls
> libiconv-1.16  libiconv-1.16.tar.gz  mirror-web  pkgs  ruby-2.2.4  
> ruby-2.2.4.tar.gz  rubygems-2.4.8  rubygems-2.4.8.tgz
> [root@oe85 ~]# gem sources
> Ignoring bigdecimal-1.3.4 because its extensions are not built. Try: gem 
> pristine bigdecimal --version 1.3.4
> Ignoring commonmarker-0.17.13 because its extensions are not built. Try: gem 
> pristine commonmarker --version 0.17.13
> Ignoring eventmachine-1.2.7 because its extensions are not built. Try: gem 
> pristine eventmachine --version 1.2.7
> Ignoring http_parser.rb-0.8.0 because its extensions are not built. Try: gem 
> pristine http_parser.rb --version 0.8.0
> Ignoring io-console-0.4.6 because its extensions are not built. Try: gem 
> pristine io-console --version 0.4.6
> Ignoring json-2.6.1 because its extensions are not built. Try: gem pristine 
> json --version 2.6.1
> Ignoring json-2.1.0 because its extensions are not built. Try: gem pristine 
> json --version 2.1.0
> Ignoring nokogiri-1.12.5 because its extensions are not built. Try: gem 
> pristine nokogiri --version 1.12.5
> Ignoring openssl-2.1.2 because its extensions are not built. Try: gem 
> pristine openssl --version 2.1.2
> Ignoring psych-3.0.2 because its extensions are not built. Try: gem pristine 
> psych --version 3.0.2
> Ignoring racc-1.6.0 because its extensions are not built. Try: gem pristine 
> racc --version 1.6.0
> Ignoring unf_ext-0.0.8 because its extensions are not built. Try: gem 
> pristine unf_ext --version 0.0.8
> *** CURRENT SOURCES ***
> 
> https://mirrors.aliyun.com/rubygems/
> [root@oe85 ~]# cd mirror-web/
> [root@oe85 mirror-web]# jekyll serve
> Ignoring bigdecimal-1.3.4 because its extensions are not built. Try: gem 
> pristine bigdecimal --version 1.3.4
> Ignoring commonmarker-0.17.13 because its extensions are not built. Try: gem 
> pristine commonmarker --version 0.17.13
> Ignoring eventmachine-1.2.7 because its extensions are not built. Try: gem 
> pristine eventmachine --version 1.2.7
> Ignoring http_parser.rb-0.8.0 because its extensions are not built. Try: gem 
> pristine http_parser.rb --version 0.8.0
> Ignoring io-console-0.4.6 because its extensions are not built. Try: gem 
> pristine io-console --version 0.4.6
> Ignoring json-2.6.1 because its extensions are not built. Try: gem pristine 
> json --version 2.6.1
> Ignoring json-2.1.0 because its extensions are not built. Try: gem pristine 
> json --version 2.1.0
> Ignoring nokogiri-1.12.5 because its extensions are not built. Try: gem 
> pristine nokogiri --version 1.12.5
> Ignoring openssl-2.1.2 because its extensions are not built. Try: gem 
> pristine openssl --version 2.1.2
> Ignoring psych-3.0.2 because its extensions are not built. Try: gem pristine 
> psych --version 3.0.2
> Ignoring racc-1.6.0 because its extensions are not built. Try: gem pristine 
> racc --version 1.6.0
> Ignoring unf_ext-0.0.8 because its extensions are not built. Try: gem 
> pristine unf_ext --version 0.0.8
> Resolving dependencies...
> Traceback (most recent call last):
>        12: from /usr/bin/jekyll:25:in `<main>'
>        11: from /usr/bin/jekyll:25:in `load'
>        10: from /usr/share/gems/gems/jekyll-3.9.0/exe/jekyll:11:in `<top 
> (required)>'
>         9: from 
> /usr/share/gems/gems/jekyll-3.9.0/lib/jekyll/plugin_manager.rb:50:in 
> `require_from_bundler'
>         8: from 
> /usr/local/share/gems/gems/bundler-2.3.8/lib/bundler.rb:151:in `setup'
>         7: from 
> /usr/local/share/gems/gems/bundler-2.3.8/lib/bundler/runtime.rb:18:in `setup'
>         6: from 
> /usr/local/share/gems/gems/bundler-2.3.8/lib/bundler/definition.rb:238:in 
> `specs_for'
>         5: from 
> /usr/local/share/gems/gems/bundler-2.3.8/lib/bundler/definition.rb:190:in 
> `specs'
>         4: from 
> /usr/local/share/gems/gems/bundler-2.3.8/lib/bundler/definition.rb:468:in 
> `materialize'
>         3: from 
> /usr/local/share/gems/gems/bundler-2.3.8/lib/bundler/definition.rb:269:in 
> `resolve'
>         2: from 
> /usr/local/share/gems/gems/bundler-2.3.8/lib/bundler/resolver.rb:23:in 
> `resolve'
>         1: from 
> /usr/local/share/gems/gems/bundler-2.3.8/lib/bundler/resolver.rb:44:in `start'
> /usr/local/share/gems/gems/bundler-2.3.8/lib/bundler/resolver.rb:57:in 
> `rescue in start': Bundler could not find compatible versions for gem 
> "nokogiri": (Bundler::VersionConflict)
>  In Gemfile:
>    github-pages was resolved to 223, which depends on
>      nokogiri (>= 1.12.5, < 2.0)
> 
> Could not find gem 'nokogiri (>= 1.12.5, < 2.0)', which is required by gem 
> 'github-pages', in any of the sources.
> [root@oe85 mirror-web]#
> ```
> 
> 
> + docker version
> 
> ```
> [root@oe85 mirror-web]# docker images
> REPOSITORY                                                 TAG                
>  IMAGE ID            CREATED             SIZE
> builden                                                    latest             
>  b8fd0b305554        6 hours ago         1.14GB
> [root@oe85 mirror-web]#
> [root@oe85 mirror-web]# ls /path/to/mirror-web/
> [root@oe85 mirror-web]# docker run -it -v /path/to/mirror-web/:/data 
> builden:latest
> Configuration file: none
>            Source: /data
>       Destination: /data/_site
> Incremental build: disabled. Enable with --incremental
>      Generating...
>                    done in 0.01 seconds.
> Auto-regeneration: disabled. Use --watch to enable.
> [root@oe85 mirror-web]# docker ps -a
> CONTAINER ID        IMAGE                           COMMAND                  
> CREATED             STATUS                      PORTS                         
>                             NAMES
> 81c5118fa6c9        builden:latest                  "jekyll build"           
> 21 seconds ago      Exited (0) 15 seconds ago                                 
>                             modest_neumann
> [root@oe85 mirror-web]#
> ```
> 
> 
> I would appreciate it if you could help me! 
> 
> 
> --
> Good luck!
> 
> 
> 
> 在 2022-03-01 15:07:49,"Miao Wang" <shankerwangm...@gmail.com> 写道:
>> Hi,
>> 
>> If you should meet any errors, please describe what you have tried and what 
>> errors you have experienced, so that other can help you specifically.
>> 
>> Cheers,
>> 
>> Miao Wang
>> 
>>> 2022年03月01日 15:05,zhangqichen <17852657...@163.com> 写道:
>>> 
>>> Hi Tunars,
>>> 
>>> My friend asked me to refer to this code warehouse and build a demo based 
>>> on the openEuler operating system(openEuler 20.03 LTS SP1 aarch64). 
>>> https://github.com/tuna/mirror-web.git
>>> I tossed for two weeks. At present, there is no progress. 
>>> Can friends who have played provide better suggestions? 
>>> 
>>> Thank you very much!
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> 您收到此邮件是因为您订阅了Google网上论坛上的“TUNA 主邮件列表”群组。
>>> 要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到tuna-general+unsubscr...@googlegroups.com。
>>> 要在网络上查看此讨论,请访问https://groups.google.com/d/msgid/tuna-general/89e8d61.3a69.17f444c914f.Coremail.17852657226%40163.com。
>> 
>> -- 
>> 您收到此邮件是因为您订阅了 Google 网上论坛的“TUNA 主邮件列表”群组。
>> 要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到tuna-general+unsubscr...@googlegroups.com。
>> 要在网络上查看此讨论,请访问 
>> https://groups.google.com/d/msgid/tuna-general/47C49CB5-9F8C-4D85-82E6-27D8A08B1264%40gmail.com。
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

-- 
您收到此邮件是因为您订阅了 Google 网上论坛的“TUNA 主邮件列表”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到tuna-general+unsubscr...@googlegroups.com。
要在网络上查看此讨论,请访问 
https://groups.google.com/d/msgid/tuna-general/FC3E70EC-F56E-42E6-A257-9FD8A503A1CE%40gmail.com。

回复