diff --git a/docs/file-scrapers.md b/docs/file-scrapers.md
index f58a422b..ff78e028 100644
--- a/docs/file-scrapers.md
+++ b/docs/file-scrapers.md
@@ -163,6 +163,18 @@ tar xj --strip-components=1
### Ruby / Minitest
### Ruby on Rails
### Ruby
+Download the tarball of Ruby from https://www.ruby-lang.org/en/downloads/, extract it, run
+`./configure && make html` in your terminal (while your are in the ruby directory) and move
+`.ext/html` to `path/to/devdocs/docs/ruby~$VERSION/`.
+
+Or run the following commands in your terminal:
+```sh
+curl https://cache.ruby-lang.org/pub/ruby/$VERSION/ruby-$RELEASE.tar.gz > ruby.tar; \
+tar -xf ruby.tar; cd ruby-$RELEASE; ./configure && make html; mv .ext/html path/to/devdocs/docs/ruby~$VERSION
+```
+
+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
+to worry about cleaning or removing a new Ruby installation.
## Salt Stack
diff --git a/lib/docs/scrapers/rdoc/ruby.rb b/lib/docs/scrapers/rdoc/ruby.rb
index 157af2fe..ed7891b4 100644
--- a/lib/docs/scrapers/rdoc/ruby.rb
+++ b/lib/docs/scrapers/rdoc/ruby.rb
@@ -63,12 +63,16 @@ module Docs
/\AXMP/]
options[:attribution] = <<-HTML
- Ruby Core © 1993–2017 Yukihiro Matsumoto
+ Ruby Core © 1993–2020 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.
HTML
+ version '3' do
+ self.release = '3.0.0'
+ end
+
version '2.7' do
self.release = '2.7.2'
end
@@ -102,6 +106,7 @@ module Docs
return version
end
end
+
end
end
end