インストールにgccコンパイルが必要なgemをプリコンパイルするスクリプト
使い方
$ cat Gemfile source "http://rubygems.org" gem 'http_parser.rb', '~> 0.6.0' $ bundle package $ ls Gemfile Gemfile.lock vendor/ $ ls vendor/cache/ http_parser.rb-0.6.0.gem $ ../gem-native-compile.sh ./ $ ls vendor/cache/ http_parser.rb-0.6.0-x86_64-linux.gem