diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-12-18 18:52:04 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-12-18 18:52:04 -0800 |
| commit | 45003023cf4100746603e0a799bcd0e1f2f70522 (patch) | |
| tree | 1ef692504293b86f07f4ae4354e2f74889e0a8f5 /doc | |
| parent | 0e984e7e2ec4d4231494976a4f32f954795d8e4b (diff) | |
| parent | b641c96f57f806efdf7dc84d3a1879a7625a95b0 (diff) | |
| download | mruby-45003023cf4100746603e0a799bcd0e1f2f70522.tar.gz mruby-45003023cf4100746603e0a799bcd0e1f2f70522.zip | |
Merge pull request #644 from xxuejie/derive-disable-gems
Derive DISABLE_GEMS macro according to build configuration
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/mrbgems/README.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/mrbgems/README.md b/doc/mrbgems/README.md index 30bd28c01..0eaaad6bf 100644 --- a/doc/mrbgems/README.md +++ b/doc/mrbgems/README.md @@ -10,9 +10,12 @@ there is no overhead inside of the mruby interpreter. To activate you have to make the following changes: * set ```ENABLE_GEMS``` to ```true``` in *$(MRUBY_ROOT)/Makefile* -* comment out ```DISABLE_GEMS``` in *$(MRUBY_ROOT)/include/mrbconf.h* * activate GEMs in *$(MRUBY_ROOT)/mrbgems/GEMS.active* +Notice that we do not need to comment out ```DISABLE_GEMS``` +in *$(MRUBY_ROOT)/include/mrbconf.h*, since this flag will now be included as +a command line flag in *$(MRUBY_ROOT)/Rakefile*. + Every activated GEM has to be listed in *GEMS.active*. You have to point to the GEM directory absolute or relative (based on *mrbgems/g*). It is possible to point to an alternative activate file: |
