forked from rubinius/rubinius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
86 lines (47 loc) · 2.18 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
1. What is Rubinius
Rubinius is an implementation of the Ruby programming language.
Rubinius includes a bytecode virtual machine, parser, bytecode compiler,
garbage collector, and just-in-time (JIT) native machine code compiler. The
Ruby core library is written almost entirely in Ruby. Rubinius provides the
same standard libraries as Matz's Ruby implementation (MRI). Rubinius also
provides C-API compatibility for native C extensions.
Rubinius currently is compatible with Ruby version 1.8.7. Support for Ruby
version 1.9.2 is coming soon.
Rubinius runs on Mac OS X and many Unix/Linux operating systems. Support for
Microsoft Windows is coming soon.
Most popular Ruby applications, like Rails, run on Rubinius.
2. License
Rubinius uses the BSD license. See LICENSE for details.
3. Installing Rubinius from Source
To install Rubinius, use the following steps:
1. Ensure that MRI 1.8.7+, rubygems, rake, and git are installed
2. git clone git://github.com/rubinius/rubinius.git
3. cd rubinius
4. ./configure --prefix=/path/to/install/dir
5. rake install
When the install process finishes, follow the directions printed to the
terminal to add the Rubinius executable (bin) directory to your PATH.
For more information about building and running Rubinius, run 'rake docs'.
4. Installing Rubinius with RVM
Rubinius can be installed using the Ruby Version Manager (RVM) project.
To install Rubinius with RVM, use the following steps:
1. Ensure the latest RVM is installed
2. rvm install rbx-head
To use Rubinius in the current shell session, run:
rvm use rbx
To make Rubinius the default interpreter in new shells, run:
rvm use rbx --default
The documentation for RVM is available at:
https://rvm.beginrescueend.com
5. Using RubyGems
Rubinius comes with RubyGems built-in. To install a gem, run the following:
rbx -S gem install <gem_name>
6. Documentation
After installing Rubinius, run 'rbx docs' to access the built-in documentation
at any time.
7. Tickets
Please file tickets for bugs or problems. The issue tracker is:
http://github.com/rubinius/rubinius/issues
8. Contributing
The Rubinius team welcomes contributions. Run 'rake docs' and see the
"Contributing" page.