From 244260b05ed763351cf9f6e9550dc81ed8ec45d3 Mon Sep 17 00:00:00 2001 From: Joachim Baran Date: Tue, 11 Mar 2014 22:27:28 -0700 Subject: Added a short description on how to add mruby gems to the compilation workflow. --- INSTALL | 14 ++++++++++++++ README.md | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/INSTALL b/INSTALL index 7a0e6cd47..865ea218e 100644 --- a/INSTALL +++ b/INSTALL @@ -28,6 +28,20 @@ send a detailed report to the developers that includes the error log, machine, and OS type. +* Adding existing gems + +Gems from the [list of mruby gems](http://www.mruby.org/libraries/) can be added by adding +their respective GitHub URLs to build_config.rb. For example, to add implementations of the +File and IO Ruby core classes to mruby, insert the following in build_config.rb under the +comment section `Use mrbgems`: + + conf.gem :git => 'git@github.com:iij/mruby-io.git', :branch => 'master' + + Afterwards, re-run: + + ruby ./minirake + + * Porting to other platforms diff --git a/README.md b/README.md index f7633019f..fbfed5fc6 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ The URL of the mruby home-page is: To subscribe to the mruby mailing list....[T.B.D.] -## How to compile and install +## How to compile and install (mruby and gems) See the INSTALL file. -- cgit v1.2.3