Skip to content

Instantly share code, notes, and snippets.

@matsumotory
Last active December 10, 2015 00:19
Show Gist options
  • Save matsumotory/4350595 to your computer and use it in GitHub Desktop.
Save matsumotory/4350595 to your computer and use it in GitHub Desktop.
mymruby.sh
set -e
git clone git://github.com/mruby/mruby.git
cd mruby/mrbgems/g/
git clone git://github.com/mattn/mruby-uv.git
git clone git://github.com/mattn/mruby-http.git
git clone git://github.com/mattn/mruby-json.git
git clone git://github.com/matsumoto-r/mruby-redis.git
git clone git://github.com/matsumoto-r/mruby-simplehttp.git
git clone git://github.com/matsumoto-r/mruby-httprequest.git
git clone git://github.com/matsumoto-r/mruby-growthforecast.git
git clone git://github.com/matsumoto-r/mruby-zabbix.git
cd -
cd mruby
cat > mrbgems/GEMS.active << EOF
mruby-json
mruby-uv
mruby-http
mruby-redis
mruby-simplehttp
mruby-httprequest
mruby-growthforecast
mruby-zabbix
EOF
rake ENABLE_GEMS='true' LIBS='-luv -lpthread -ldl -lrt -lhiredis -lm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment