Update some words on README.md.

* Remove space on double spaces.
  * Capitalization of "Ruby".
  * Use macOS instead of OS X.

  https://github.com/ruby/ruby/pull/1610

  Patch by @bunkrich [fix GH-1610]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2017-10-21 15:02:25 +00:00
parent 7d2e5fb979
commit f4ae225b04

View File

@ -4,22 +4,22 @@
# What's Ruby # What's Ruby
Ruby is the interpreted scripting language for quick and easy object-oriented Ruby is the interpreted scripting language for quick and easy object-oriented
programming. It has many features to process text files and to do system programming. It has many features to process text files and to do system
management tasks (as in Perl). It is simple, straight-forward, and management tasks (as in Perl). It is simple, straight-forward, and
extensible. extensible.
## Features of Ruby ## Features of Ruby
* Simple Syntax * Simple Syntax
* **Normal** Object-oriented Features (e.g. class, method calls) * **Normal** Object-oriented Features (e.g. class, method calls)
* **Advanced** Object-oriented Features (e.g. Mix-in, Singleton-method) * **Advanced** Object-oriented Features (e.g. mix-in, singleton-method)
* Operator Overloading * Operator Overloading
* Exception Handling * Exception Handling
* Iterators and Closures * Iterators and Closures
* Garbage Collection * Garbage Collection
* Dynamic Loading of Object Files (on some architectures) * Dynamic Loading of Object Files (on some architectures)
* Highly Portable (works on many Unix-like/POSIX compatible platforms as * Highly Portable (works on many Unix-like/POSIX compatible platforms as
well as Windows, Mac OS X, Haiku, etc.) cf. well as Windows, macOS, Haiku, etc.) cf.
https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/SupportedPlatforms https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/SupportedPlatforms
@ -43,7 +43,7 @@ Or if you are using git then use the following command:
$ git clone git://github.com/ruby/ruby.git $ git clone git://github.com/ruby/ruby.git
There are some other branches under development. Try the following command There are some other branches under development. Try the following command
to see the list of branches: to see the list of branches:
$ svn ls https://svn.ruby-lang.org/repos/ruby/branches/ $ svn ls https://svn.ruby-lang.org/repos/ruby/branches/
@ -72,7 +72,7 @@ in the mail body (not subject) to the address
This is what you need to do to compile and install Ruby: This is what you need to do to compile and install Ruby:
1. If you want to use Microsoft Visual C++ to compile ruby, read 1. If you want to use Microsoft Visual C++ to compile Ruby, read
[win32/README.win32](win32/README.win32) instead of this document. [win32/README.win32](win32/README.win32) instead of this document.
2. If `./configure` does not exist or is older than `configure.ac`, run 2. If `./configure` does not exist or is older than `configure.ac`, run
@ -81,7 +81,7 @@ This is what you need to do to compile and install Ruby:
3. Run `./configure`, which will generate `config.h` and `Makefile`. 3. Run `./configure`, which will generate `config.h` and `Makefile`.
Some C compiler flags may be added by default depending on your Some C compiler flags may be added by default depending on your
environment. Specify `optflags=..` and `warnflags=..` as necessary to environment. Specify `optflags=..` and `warnflags=..` as necessary to
override them. override them.
4. Edit `defines.h` if you need. Usually this step will not be needed. 4. Edit `defines.h` if you need. Usually this step will not be needed.
@ -102,7 +102,7 @@ This is what you need to do to compile and install Ruby:
7. Optionally, run '`make check`' to check whether the compiled Ruby 7. Optionally, run '`make check`' to check whether the compiled Ruby
interpreter works well. If you see the message "`check succeeded`", your interpreter works well. If you see the message "`check succeeded`", your
ruby works as it should (hopefully). Ruby works as it should (hopefully).
8. Optionally, Run `make update-gems` and `make extract-gems` 8. Optionally, Run `make update-gems` and `make extract-gems`
@ -138,10 +138,10 @@ This is what you need to do to compile and install Ruby:
**NOTE**: teeny of the API version may be different from one of Ruby's **NOTE**: teeny of the API version may be different from one of Ruby's
program version program version
You may have to be a super user to install ruby. You may have to be a super user to install Ruby.
If you fail to compile ruby, please send the detailed error report with the If you fail to compile Ruby, please send the detailed error report with the
error log and machine/OS type, to help others. error log and machine/OS type, to help others.
Some extension libraries may not get compiled because of lack of necessary Some extension libraries may not get compiled because of lack of necessary