F#4233: fixes "ERROR: executing gem invalid option: --no-ri" (#4211)

Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
(cherry picked from commit e6cc49cbde)
This commit is contained in:
Pratik Raj authored and Ruben S. Montero committed 2020-02-21 16:50:35 +01:00
1 parent 0f836603e7
commit cae9e5eb75
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -90,7 +90,7 @@ Then install the following packages:
install expat libraries with its development files and install xmlparser
using gem:
$ sudo gem install xmlparser --no-ri --no-rdoc
$ sudo gem install xmlparser --no-document
Note the extra parameters to gem install. Some versions of xmlparser have
problems building the documentation and we can use it without documentation
@@ -98,7 +98,7 @@ Then install the following packages:
* **ruby ox**, fast xml parsing library:
$ sudo gem install ox --no-ri --no-rdoc
$ sudo gem install ox --no-document
### Building
+2 -2
View File
@@ -206,7 +206,7 @@ EOT
end
def installed_gems
text=`gem list --no-versions --no-details`
text=`gem list --no-versions`
if $?.exitstatus!=0
nil
else
@@ -498,7 +498,7 @@ EOT
end.join(' ')+' '
end
command_string = "#{prefix}gem install --no-ri --no-rdoc"
command_string = "#{prefix}gem install --no-document"
install_warning(packages)