From e6cc49cbde955a088ce256741202707ac5445130 Mon Sep 17 00:00:00 2001 From: Pratik Raj Date: Fri, 21 Feb 2020 21:20:07 +0530 Subject: [PATCH] F#4233: fixes "ERROR: executing gem invalid option: --no-ri" (#4211) Signed-off-by: Pratik Raj --- README.md | 4 ++-- share/install_gems/install_gems | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 388f9bd5c2..167e4faf76 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/share/install_gems/install_gems b/share/install_gems/install_gems index 318c8f726d..db9052af53 100755 --- a/share/install_gems/install_gems +++ b/share/install_gems/install_gems @@ -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)