Skip to content

Commit 199d0c6

Browse files
authored
Merge pull request #2915 from ccmywish/master
Add installation method: rbenv for Windows
2 parents a7899fa + e69f532 commit 199d0c6

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

en/documentation/installation/index.md

+11
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,16 @@ plugin can. Both tools are available for macOS, Linux, or other
336336
UNIX-like operating systems.
337337

338338

339+
### rbenv for Windows
340+
{: #rbenv-for-windows}
341+
342+
[rbenv for Windows][rbenv-for-windows] allows you to install and
343+
manage multiple installations of Ruby on Windows. It's written in
344+
PowerShell thus providing a native way to use Ruby for Windows users.
345+
Besides, the command line interface is compatible with [rbenv][rbenv]
346+
on UNIX-like systems.
347+
348+
339349
### RVM ("Ruby Version Manager")
340350
{: #rvm}
341351

@@ -375,6 +385,7 @@ though, because the installed Ruby won't be managed by any tools.
375385

376386
[rvm]: http://rvm.io/
377387
[rbenv]: https://github.com/rbenv/rbenv#readme
388+
[rbenv-for-windows]: https://github.com/ccmywish/rbenv-for-windows#readme
378389
[ruby-build]: https://github.com/rbenv/ruby-build#readme
379390
[ruby-install]: https://github.com/postmodern/ruby-install#readme
380391
[chruby]: https://github.com/postmodern/chruby#readme

zh_cn/documentation/installation/index.md

+7
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,12 @@ $ pkg install runtime/ruby
178178
[rbenv][rbenv] 用于管理系统中安装的多个 Ruby 版本。它不能直接安装 Ruby,但有个流行的插件叫 [ruby-build](#ruby-build) 能够安装 Ruby。这两个工具都支持 macOS、Linux 和其它类 UNIX 操作系统。
179179

180180

181+
### rbenv for Windows
182+
{: #rbenv-for-windows}
183+
184+
[rbenv for Windows][rbenv-for-windows] 用于在Windows上下载安装并管理系统中的多个 Ruby 版本。它使用PowerShell编写,由此为Windows用户提供了一个使用Ruby的原生方法。除此之外,它的命令行接口与类 UNIX 系统上的 [rbenv][rbenv] 兼容。
185+
186+
181187
### RVM(“Ruby Version Manager”)
182188
{: #rvm}
183189

@@ -208,6 +214,7 @@ $ sudo make install
208214

209215
[rvm]: http://rvm.io/
210216
[rbenv]: https://github.com/rbenv/rbenv#readme
217+
[rbenv-for-windows]: https://github.com/ccmywish/rbenv-for-windows#readme
211218
[ruby-build]: https://github.com/rbenv/ruby-build#readme
212219
[ruby-install]: https://github.com/postmodern/ruby-install#readme
213220
[chruby]: https://github.com/postmodern/chruby#readme

0 commit comments

Comments
 (0)