@@ -4,6 +4,10 @@ title: Ready, Set, ...
4
4
author : Brian Shirai
5
5
---
6
6
7
+
8
+ ** ED: Updated the section on How To Build and added a section on gems and
9
+ Rubinius.**
10
+
7
11
There are some big changes coming in Rubinius. A full post about this should
8
12
arrive later in the week, but for people who are tracking master HEAD on the
9
13
[ GitHub repository] ( https://github.com/rubinius/rubinius ) , here are a few
@@ -29,6 +33,12 @@ in how programs using the standard library run.
29
33
To build Rubinius, MRI 2.0 or Rubinius master are required. Other versions may
30
34
work, but are not supported. Bundler is also required.
31
35
36
+ The easiest way to get MRI 2.0 if it's not already installed on your system is
37
+ probably [ ruby-install] ( https://github.com/postmodern/ruby-install#readme ) .
38
+ However, use whatever is easiest for you to install MRI 2.0. Rubinius also
39
+ highly recommends using [ chruby] ( https://github.com/postmodern/chruby ) as a
40
+ Ruby switcher.
41
+
32
42
To clone and build, follow these steps:
33
43
34
44
1 . git clone --depth 1 https://github.com/rubinius/rubinius
@@ -44,6 +54,30 @@ run Rubinius. Alternatively, use a Ruby switcher like
44
54
[ chruby] ( https://github.com/postmodern/chruby ) .
45
55
46
56
57
+ ## What Are Gems?
58
+
59
+ As noted above, the Ruby standard library in Rubinius, and other Rubinius
60
+ components like the code build tools and developer tools, are provided as
61
+ gems. These are regular gems. There is nothing special about them. They are
62
+ installed as gems, they are bundled as gems, they are updated with `gem
63
+ update`, they are simply gems.
64
+
65
+ You even have the option at configure time to not install them (except for a
66
+ few that are required to run (e.g. IRB), but we plan to make this optional as
67
+ well). See ` configure --help ` for the ` --with[out]-stdlib ` configure option.
68
+
69
+ Since they are gems, other Ruby ecosystem components, like Bundler, need to
70
+ know about them. When using Bundler, for example, add ` gem "rubysl", "~> 2.0" `
71
+ to your Gemfile. For other dependency management, what is needed depends on
72
+ how intrusively it invades the Ruby require process. With plain RubyGems,
73
+ simply install the gems and requires will work as expected.
74
+
75
+ There are several meta-gems provided (e.g. rubysl, rubysl-rake,
76
+ rubysl-bundler) that can be used to install all the standard library gems that
77
+ those tools depend on. To install (or update) the entire standard library, run
78
+ ` gem install rubysl ` .
79
+
80
+
47
81
## Where Are 1.8 & 1.9?
48
82
49
83
There are two branches under Rubinius for
0 commit comments