Skip to content

Commit df6e14d

Browse files
committed
Edited Ready, Set post about gems.
1 parent 2cb11b4 commit df6e14d

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

_posts/2013-09-22-ready-set.markdown

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ title: Ready, Set, ...
44
author: Brian Shirai
55
---
66

7+
8+
** ED: Updated the section on How To Build and added a section on gems and
9+
Rubinius.**
10+
711
There are some big changes coming in Rubinius. A full post about this should
812
arrive later in the week, but for people who are tracking master HEAD on the
913
[GitHub repository](https://github.com/rubinius/rubinius), here are a few
@@ -29,6 +33,12 @@ in how programs using the standard library run.
2933
To build Rubinius, MRI 2.0 or Rubinius master are required. Other versions may
3034
work, but are not supported. Bundler is also required.
3135

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+
3242
To clone and build, follow these steps:
3343

3444
1. git clone --depth 1 https://github.com/rubinius/rubinius
@@ -44,6 +54,30 @@ run Rubinius. Alternatively, use a Ruby switcher like
4454
[chruby](https://github.com/postmodern/chruby).
4555

4656

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+
4781
## Where Are 1.8 & 1.9?
4882

4983
There are two branches under Rubinius for

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy