From babd4b5acc31a37f0f9630086eb2c7772b4f2e54 Mon Sep 17 00:00:00 2001 From: Eric-Guo Date: Wed, 3 Mar 2021 15:30:33 +0800 Subject: [PATCH] Add readme hint. --- README-CN.md | 4 ++++ README.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/README-CN.md b/README-CN.md index 6c9b176a..61ae086b 100644 --- a/README-CN.md +++ b/README-CN.md @@ -27,12 +27,16 @@ WeChat gem帮助开发者方便地在Rails环境中集成[微信公众平台](ht ``` gem install "wechat" +# 如果使用 Ruby 版本小于 2.6 +# gem install wechat -v 0.12.2 ``` 或者添加下面这行到 `Gemfile`: ``` gem 'wechat' +# 如果使用 Rails 版本小于 6 +# gem 'wechat', '~> 0.12.2' ``` 运行下面这行代码来安装: diff --git a/README.md b/README.md index 74c8ba6c..79a7808d 100644 --- a/README.md +++ b/README.md @@ -34,12 +34,16 @@ Use `gem install` ``` gem install "wechat" +# If your ruby version < 2.6 +# gem install wechat -v 0.12.2 ``` Or add it to your app's `Gemfile`: ``` gem 'wechat' +# If your rails version < 6.0 +# gem 'wechat', '~> 0.12.2' ``` Run the following command to install it: