Skip to content

Commit 59584c5

Browse files
committed
Update downloads and libraries page (en)
Update information (avoiding mention of specific Ruby versions). Incorporate changes in the default behaviour of the "gem" command. Re-introduce hint to license. Some other minor improvements.
1 parent 231bbf9 commit 59584c5

File tree

2 files changed

+28
-26
lines changed

2 files changed

+28
-26
lines changed

en/downloads/index.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ lang: en
66

77
Here you can get the latest Ruby distributions in your favorite flavor.
88
The current stable version is {{ site.downloads.stable.version }}.
9+
Please be sure to read [Ruby’s License]({{ site.license.url }}).
910

1011
### Three Ways of Installing Ruby
1112

@@ -66,8 +67,7 @@ RVM is only available for Mac OS X, Linux, or any UNIX-like operating
6667
system. Windows users should check out [pik][5] for a similar project,
6768
or consider using RubyInstaller, described in the next section.
6869

69-
As of this writing, as long as you have [git][6] installed, you can
70-
install RVM with:
70+
As of this writing, you should be able to install RVM with:
7171

7272
{% highlight sh %}
7373
$ \curl -L https://get.rvm.io | bash -s stable --ruby
@@ -105,19 +105,20 @@ older versions of Ruby in their repositories. If you’d like to use the
105105
newest Ruby, make sure you use the correct package name, or use RVM
106106
instead.
107107

108-
#### Linux
108+
#### Ruby on Linux
109109

110-
Debian GNU/Linux uses the apt package manager system. (So does Ubuntu.)
110+
Debian GNU/Linux or Ubuntu use the apt package manager system.
111111
You can use it like this:
112112

113113
{% highlight sh %}
114114
$ sudo apt-get install ruby1.9.1
115115
{% endhighlight %}
116116

117-
Yes, this will install Ruby 1.9.2. It has a ‘library compatibility
118-
version’ of 1.9.1, hence the name.
117+
Yes, this will install Ruby 1.9.2 or newer. It has a ‘library
118+
compatibility version’ of 1.9.1, hence the name.
119119

120-
If you install the ‘ruby’ package, you’ll get the older Ruby 1.8.
120+
If you install the ‘ruby’ package, you might get the older Ruby 1.8,
121+
depending on the distro.
121122

122123
Arch Linux uses a package manager named pacman. To get Ruby, just do
123124
this:
@@ -126,10 +127,10 @@ this:
126127
$ sudo pacman -S ruby
127128
{% endhighlight %}
128129

129-
On other systems, RVM might be the right choice for you, or you can
130-
search the package repository for your Linux distro’s manager.
130+
On other systems you can search the package repository for your
131+
Linux distro’s manager, or RVM might be the right choice for you.
131132

132-
#### Mac OS X
133+
#### Ruby on Mac OS X
133134

134135
Ruby 1.8.7 is fully supported in Mac OS X Lion as well as many popular
135136
Ruby gems (packages). For details, see the [Ruby wiki at Mac OS
@@ -161,7 +162,7 @@ article][16] can help you.
161162
Ruby 1.8.7 is available for Solaris 8 through Solaris 10 on
162163
[Sunfreeware][17] and Ruby 1.8.7 is available at [Blastwave][18].
163164
Ruby 1.9.2p0 is also available at [Sunfreeware][17], but this is outdated.
164-
Using RVM can get you the latest version of Ruby 1.9.2.
165+
Using RVM can get you the latest version of Ruby.
165166

166167
To install Ruby on [OpenIndiana][19], please use the [Image Packaging
167168
System, or IPS][20] client. This will install the latest Ruby binaries
@@ -172,13 +173,14 @@ Ruby 1.9. It’s easy:
172173
$ pkg install runtime/ruby-18
173174
{% endhighlight %}
174175

175-
Like before, RVM is a good way to obtain Ruby 1.9.2, the latest version.
176+
Like before, RVM is a good way to obtain the latest version of Ruby.
176177

177178
### Other Implementations of Ruby
178179

179180
Ruby, as a language, has a few different implementations. This guide has
180-
been discussing the reference implementation, **MRI**, but there are
181-
also others. They are often useful in certain situations, provide extra
181+
been discussing the reference implementation, **MRI** (“Matz's Ruby
182+
Interpreter”) or **CRuby**, but there are also others.
183+
They are often useful in certain situations, provide extra
182184
integration to other languages or environments, or have special features
183185
that MRI doesn’t.
184186

@@ -211,7 +213,6 @@ programming language”.
211213
[3]: {{ site.downloads.stable_snapshot.url.gz }}
212214
[4]: {{ site.downloads.nightly_snapshot.url.gz }}
213215
[5]: https://github.com/vertiginous/pik
214-
[6]: http://git-scm.com/
215216
[7]: https://rvm.io/rvm/install/
216217
[8]: http://rubyinstaller.org/
217218
[9]: http://rubyinstaller.org/downloads/

en/libraries/index.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Most of them are released in the form of a **gem**. [**RubyGems**][1] is
1111
a Ruby packaging system designed to facilitate the creation, sharing and
1212
installation of libraries (in some ways, it is a distribution packaging
1313
system similar to, say, `apt-get`, but targeted at Ruby software).
14-
Ruby 1.9 comes with RubyGems by default, while previous Ruby versions
15-
require to [install it by hand][2].
14+
Since version 1.9 Ruby comes with RubyGems by default, while previous
15+
Ruby versions require to [install it by hand][2].
1616

1717
Some other libraries are released as archived (.zip or .tar.gz)
1818
directories of **source code**. Installation processes may vary,
@@ -29,7 +29,7 @@ the `gem` command.
2929

3030
Using `gem search -r`, you can inspect RubyGems' repository. For
3131
instance, `gem search -r rails` will return a list of Rails-related
32-
gems. Without the `remote` (`-r`) option, you would perform a local
32+
gems. With the `--local` (`-l`) option, you would perform a local
3333
search through your installed gems. To install a gem, use `gem install
3434
[gem]`. Browsing installed gems is done with `gem list`. For more
3535
information about the `gem` command, see below or head to [RubyGems’
@@ -54,7 +54,7 @@ packaging system.
5454
#### Searching among available gems
5555

5656
The **search** command can be used to look for gems, based on a string.
57-
Gems which names contain the specified string will be listed in return.
57+
Gems which names start with the specified string will be listed in return.
5858
For instance, to search for the “html”-related gems:
5959

6060
{% highlight sh %}
@@ -66,8 +66,9 @@ html-sample (1.0, 1.1)
6666
{% endhighlight %}
6767

6868
The `--remote` / `-r` flag indicates that we want to inspect the
69-
official RubyGems.org repository. Without this flag, you would perform a
70-
local search among your installed gems.
69+
official RubyGems.org repository (default behaviour).
70+
With the `--local` / `-l` flag you would perform a local search
71+
among your installed gems.
7172

7273
#### Installing a gem
7374

@@ -87,16 +88,16 @@ $ gem install rails --version 3.0
8788

8889
#### Listing all gems
8990

90-
For a complete **list** of all gems available on RubyGems.org:
91+
For a **list** of all locally installed gems:
9192

9293
{% highlight sh %}
93-
$ gem list -r
94+
$ gem list
9495
{% endhighlight %}
9596

96-
To list only local gems:
97+
To obtain a (very long) list of all gems available on RubyGems.org:
9798

9899
{% highlight sh %}
99-
$ gem list
100+
$ gem list -r
100101
{% endhighlight %}
101102

102103
#### Help!
@@ -112,7 +113,7 @@ all `gem`’s commands.
112113

113114
#### Crafting your own gems
114115

115-
[RubyGems.org][8] has several guides about this topic. You may also want
116+
RubyGems.org has [several guides][8] about this topic. You may also want
116117
to investigate on [Bundler][9], a generic tool which helps you manage an
117118
application’s dependencies and may be used along RubyGems.
118119

0 commit comments

Comments
 (0)