Unified · Split
| @@ -163,6 +163,18 @@ tar xj --strip-components=1 · 162 unmodified lines | ||
| 163 | 163 | ### Ruby / Minitest |
| 164 | 164 | ### Ruby on Rails |
| 165 | 165 | ### Ruby |
| 166 | +Download the tarball of Ruby from https://www.ruby-lang.org/en/downloads/, extract it, run | |
| 167 | +`./configure && make html` in your terminal (while your are in the ruby directory) and move | |
| 168 | +`.ext/html` to `path/to/devdocs/docs/ruby~$VERSION/`. | |
| 169 | + | |
| 170 | +Or run the following commands in your terminal: | |
| 171 | +```sh | |
| 172 | +curl https://cache.ruby-lang.org/pub/ruby/$VERSION/ruby-$RELEASE.tar.gz > ruby.tar; \ | |
| 173 | +tar -xf ruby.tar; cd ruby-$RELEASE; ./configure && make html; mv .ext/html path/to/devdocs/docs/ruby~$VERSION | |
| 174 | +``` | |
| 175 | + | |
| 176 | +To generate the htmls file you have to run `make` command but it does not install Ruby in your system, only generates html files so you have not | |
| 177 | +to worry about cleaning or removing a new Ruby installation. | |
| 166 | 178 | |
| 167 | 179 | ## Salt Stack |
| 168 | 180 | |
| @@ -63,12 +63,16 @@ module Docs · 62 unmodified lines | ||
| 63 | 63 | /\AXMP/] |
| 64 | 64 | |
| 65 | 65 | options[:attribution] = <<-HTML |
| 66 | − Ruby Core © 1993–2017 Yukihiro Matsumoto<br> | |
| 66 | + Ruby Core © 1993–2020 Yukihiro Matsumoto<br> | |
| 67 | 67 | Licensed under the Ruby License.<br> |
| 68 | 68 | Ruby Standard Library © contributors<br> |
| 69 | 69 | Licensed under their own licenses. |
| 70 | 70 | HTML |
| 71 | 71 | |
| 72 | + version '3' do | |
| 73 | + self.release = '3.0.0' | |
| 74 | + end | |
| 75 | + | |
| 72 | 76 | version '2.7' do |
| 73 | 77 | self.release = '2.7.2' |
| 74 | 78 | end |
| @@ -102,6 +106,7 @@ module Docs · 27 unmodified lines | ||
| 102 | 106 | return version |
| 103 | 107 | end |
| 104 | 108 | end |
| 109 | + | |
| 105 | 110 | end |
| 106 | 111 | end |
| 107 | 112 | end |