cookbook 'mruby', '= 0.3.0'
mruby (8) Versions 0.3.0 Follow0
Installs/Configures mruby
cookbook 'mruby', '= 0.3.0', :supermarket
knife supermarket install mruby
knife supermarket download mruby
mruby Cookbook
This cookbook installs mruby.
- /usr/local/bin/mruby
- /usr/local/bin/mirb
- /usr/local/bin/mrbc
TODO
- create LWRP
Requirements
- make
Attributes
-
[:mruby][:build_dir] = '/opt/chef_mruby'
# directory to build -
[:mruby][:use_chef_ruby] = true
# Use ruby chef runtime. -
[:mruby][:add_path] = '/usr/local/bin'
# create symlink to. If you don't need link, set nil. -
[:mruby][:bins] = %w(mruby mrbc mirb)
# symlink target binaries
Usage
include your runlist
-
build-essential
(optional) mruby
Test
Install test dependencies
bundle
test
kitchen test
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors: Yukihiko Sawanobori (HiganWorks LLC)
under MIT License
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.