Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brettg/rbenv-macruby
extension for using rbenv with standard MacRuby install
https://github.com/brettg/rbenv-macruby
Last synced: 3 months ago
JSON representation
extension for using rbenv with standard MacRuby install
- Host: GitHub
- URL: https://github.com/brettg/rbenv-macruby
- Owner: brettg
- License: mit
- Created: 2012-07-18T18:01:22.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-08-07T00:03:51.000Z (over 11 years ago)
- Last Synced: 2024-05-31T21:00:29.149Z (6 months ago)
- Language: Shell
- Homepage:
- Size: 97.7 KB
- Stars: 21
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.mkd
- License: LICENSE
Awesome Lists containing this project
README
# rbenv-macruby
rbenv-macruby is an extension for the [rbenv][rbenv] ruby version manager that allows you to use
[MacRuby][macruby] versions installed via the MacRuby installer with rbenv. When using MacRuby
through rbenv you can use the normal ruby binary names instead of the ones prefixed by "mac" (e.g.
`ruby` instead of `macruby`, `irb` instead of `macirb`...). Further gems are stored inside the
`~/.rbenv` directory and managed independently of the system MacRuby gems (which alleviates the need
for `sudo` when installing gems and keeps `/usr/local/bin` free of MacRuby gem binary symlinks.)## Installation
Clone rbenv-macruby to the `$HOME/.rbenv/plugins` directory:
```
$ mkdir -p ~/.rbenv/plugins
$ cd ~/.rbenv/plugins
$ git clone git://github.com/brettg/rbenv-macruby.git
```## Usage
There is only one setup command that should be run once initially and each time
you add:
```
$ rbenv macruby init
```Once installed `rbenv versions` should list all installed version of MacRuby. Just setup rbenv to
use one of those and use MacRuby as you would ruby.[macruby]: http://macruby.org/
[rbenv]: http://github.com/sstephenson/rbenv
[rbenv-gemset]: http://github.com/sstephenson/rbenv-gemset