From 784f72f5017cb3826ef3cd73fe4e04c19158540c Mon Sep 17 00:00:00 2001 From: jaywcjlove Date: Sat, 7 Oct 2023 17:03:39 +0000 Subject: [PATCH] doc: update docs/ruby.md (#448) * add doc for pg_upgrade * add doc for ruby bundle lock 58425e03187c2bc946bfcb3caf9d5f43b637f8a0 --- CONTRIBUTORS.svg | 160 +++++++++++++++++++++++------------------------ docs/ruby.html | 3 + index.html | 2 +- 3 files changed, 83 insertions(+), 82 deletions(-) diff --git a/CONTRIBUTORS.svg b/CONTRIBUTORS.svg index 2e875105..e168998b 100644 --- a/CONTRIBUTORS.svg +++ b/CONTRIBUTORS.svg @@ -38,7 +38,7 @@ - + @@ -46,72 +46,72 @@ + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + @@ -141,100 +141,98 @@ - + - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + \ No newline at end of file diff --git a/docs/ruby.html b/docs/ruby.html index 032b86c9..f6071532 100644 --- a/docs/ruby.html +++ b/docs/ruby.html @@ -88,6 +88,9 @@

安装 Gemfile 中的所有 gem

$ bundle install
 
+

解决开发用 mac,生产用 linux 出现的 Gemfile.lock 不一致问题

+
bundle lock --add-platform x86_64-linux
+

安装特定 ruby gem 的特定版本

$ gem install bundler -v 1.17
 $ gem install minitest -v 5.8.4
diff --git a/index.html b/index.html
index d1260c58..f4756998 100644
--- a/index.html
+++ b/index.html
@@ -1373,7 +1373,7 @@
 
 

如果你有资源,可以很方便部署 web 版,这非常简单,只需要克隆 gh-pages 分支代码到你的静态服务就可以了,还可以使用 docker 快捷部署 web 版。

-
+