1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00

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

Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
This commit is contained in:
Pratik Raj 2020-02-21 21:20:07 +05:30 committed by GitHub
parent 8077c0904b
commit e6cc49cbde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -90,7 +90,7 @@ Then install the following packages:
install expat libraries with its development files and install xmlparser install expat libraries with its development files and install xmlparser
using gem: 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 Note the extra parameters to gem install. Some versions of xmlparser have
problems building the documentation and we can use it without documentation 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: * **ruby ox**, fast xml parsing library:
$ sudo gem install ox --no-ri --no-rdoc $ sudo gem install ox --no-document
### Building ### Building

View File

@ -206,7 +206,7 @@ EOT
end end
def installed_gems def installed_gems
text=`gem list --no-versions --no-details` text=`gem list --no-versions`
if $?.exitstatus!=0 if $?.exitstatus!=0
nil nil
else else
@ -498,7 +498,7 @@ EOT
end.join(' ')+' ' end.join(' ')+' '
end end
command_string = "#{prefix}gem install --no-ri --no-rdoc" command_string = "#{prefix}gem install --no-document"
install_warning(packages) install_warning(packages)