3 ms·
> simplifies the runtime That has been a solved problem in ruby for a long time. Bundler[1] (or similar tools) does the equivalent of static compilation by cop
by pdkl95 11y ago
> simplifies the runtime
That has been a solved problem in ruby for a long time. Bundler[1] (or similar tools) does the equivalent of static compilation by copying[2] all of the dependencies into the project and statically loading[3] them.
[1] http://bundler.io/rationale.html http://bundler.io/rationale.html
[2] http://bundler.io/v1.12/bundle_package.html http://bundler.io/v1.12/bundle_package.html
[3] http://bundler.io/v1.12/man/bundle-exec.1.html#ENVIRONMENT-MODIFICATIONS http://bundler.io/v1.12/man/bundle-exec.1.html#ENVIRONMENT-M...
- weberc2 11y agoI'm sure it helps, but you still have a runtime dependency on Ruby as well as something to unbundle the bundle. Maybe this isn't a big deal, but it's not as easy as a single static binary.