|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: Ready, Set, ... |
| 4 | +author: Brian Shirai |
| 5 | +--- |
| 6 | + |
| 7 | +There are some big changes coming in Rubinius. A full post about this should |
| 8 | +arrive later in the week, but for people who are tracking master HEAD on the |
| 9 | +[GitHub repository](https://github.com/rubinius/rubinius), here are a few |
| 10 | +essential pieces of information. |
| 11 | + |
| 12 | + |
| 13 | +## What's Changed? |
| 14 | + |
| 15 | +I've just merged a work-in-progress branch into master. The master branch now |
| 16 | +supports Ruby language version 2.1 only. It also moves Rubinius components, |
| 17 | +such as the parser, compiler, debugger, as well as the Ruby standard library, |
| 18 | +to gems. The changes lay the foundation for numerous planned features to |
| 19 | +improve performance and concurrency support. |
| 20 | + |
| 21 | +The syntax support for 2.1 is not yet complete but should be merged in a few |
| 22 | +days. Applications using Ruby 1.9.3 are expected to run. The standard library |
| 23 | +gems are installed by default, so there should not be a noticable difference |
| 24 | +in how programs using the standard library run. |
| 25 | + |
| 26 | + |
| 27 | +## How To Build |
| 28 | + |
| 29 | +To build Rubinius, MRI 2.0 or Rubinius master are required. Other versions may |
| 30 | +work, but are not supported. Bundler is also required. |
| 31 | + |
| 32 | +To clone and build, follow these steps: |
| 33 | + |
| 34 | +1. git clone --depth 1 https://github.com/rubinius/rubinius |
| 35 | +1. cd rubinius |
| 36 | +1. bundle |
| 37 | +1. ./configure --prefix=/path/to/install |
| 38 | +1. rake |
| 39 | + |
| 40 | +The main difference is that bundle is used to install build requirements. |
| 41 | + |
| 42 | +After building, add `path/to/install/bin:/path/to/install/gems/bin` to PATH to |
| 43 | +run Rubinius. Alternatively, use a Ruby switcher like |
| 44 | +[chruby](https://github.com/postmodern/chruby). |
| 45 | + |
| 46 | + |
| 47 | +## Where Are 1.8 & 1.9? |
| 48 | + |
| 49 | +There are two branches under Rubinius for |
| 50 | +[1.8.7](https://github.com/rubinius/rubinius/tree/1.8.7) and |
| 51 | +[1.9.3](https://github.com/rubinius/rubinius/tree/1.9.3). The default language |
| 52 | +mode when building from the branches matches the branch name. These branches |
| 53 | +are provided to ease transitions. No active development will occurr on the |
| 54 | +branches. If you would like to volunteer to maintain one of the branches, |
| 55 | +please let us know. |
| 56 | + |
| 57 | + |
| 58 | +## Issues |
| 59 | + |
| 60 | +Please open an [issue](https://github.com/rubinius/rubinius/issues) |
| 61 | +if you have any trouble building or running the master branch. |
| 62 | + |
| 63 | +More details coming soon. Happy Rubying! |
0 commit comments