6
6
7
7
Here you can get the latest Ruby distributions in your favorite flavor.
8
8
The current stable version is {{ site.downloads.stable.version }}.
9
+ Please be sure to read [ Ruby’s License] ({{ site.license.url }}).
9
10
10
11
### Three Ways of Installing Ruby
11
12
@@ -66,8 +67,7 @@ RVM is only available for Mac OS X, Linux, or any UNIX-like operating
66
67
system. Windows users should check out [ pik] [ 5 ] for a similar project,
67
68
or consider using RubyInstaller, described in the next section.
68
69
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:
71
71
72
72
{% highlight sh %}
73
73
$ \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
105
105
newest Ruby, make sure you use the correct package name, or use RVM
106
106
instead.
107
107
108
- #### Linux
108
+ #### Ruby on Linux
109
109
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.
111
111
You can use it like this:
112
112
113
113
{% highlight sh %}
114
114
$ sudo apt-get install ruby1.9.1
115
115
{% endhighlight %}
116
116
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.
119
119
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.
121
122
122
123
Arch Linux uses a package manager named pacman. To get Ruby, just do
123
124
this:
@@ -126,10 +127,10 @@ this:
126
127
$ sudo pacman -S ruby
127
128
{% endhighlight %}
128
129
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 .
131
132
132
- #### Mac OS X
133
+ #### Ruby on Mac OS X
133
134
134
135
Ruby 1.8.7 is fully supported in Mac OS X Lion as well as many popular
135
136
Ruby gems (packages). For details, see the [ Ruby wiki at Mac OS
@@ -161,7 +162,7 @@ article][16] can help you.
161
162
Ruby 1.8.7 is available for Solaris 8 through Solaris 10 on
162
163
[ Sunfreeware] [ 17 ] and Ruby 1.8.7 is available at [ Blastwave] [ 18 ] .
163
164
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.
165
166
166
167
To install Ruby on [ OpenIndiana] [ 19 ] , please use the [ Image Packaging
167
168
System, or IPS] [ 20 ] client. This will install the latest Ruby binaries
@@ -172,13 +173,14 @@ Ruby 1.9. It’s easy:
172
173
$ pkg install runtime/ruby-18
173
174
{% endhighlight %}
174
175
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 .
176
177
177
178
### Other Implementations of Ruby
178
179
179
180
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
182
184
integration to other languages or environments, or have special features
183
185
that MRI doesn’t.
184
186
@@ -211,7 +213,6 @@ programming language”.
211
213
[ 3] : {{ site.downloads.stable_snapshot.url.gz }}
212
214
[ 4] : {{ site.downloads.nightly_snapshot.url.gz }}
213
215
[ 5 ] : https://github.com/vertiginous/pik
214
- [ 6 ] : http://git-scm.com/
215
216
[ 7 ] : https://rvm.io/rvm/install/
216
217
[ 8 ] : http://rubyinstaller.org/
217
218
[ 9 ] : http://rubyinstaller.org/downloads/
0 commit comments