|
|
|
|
|
by jacques_chester
3618 days ago
|
|
> It is widely discouraged It is also widely encouraged. Some engineers: 1. Don't trust dependencies to always be there. 2. Write apps that need to work in disconnected environments -- ie with no internet connectivity. I work on the Cloud Foundry buildpacks team for Pivotal. Being able to stage and launch apps in a disconnected environment is A Big Deal for a lot of companies. |
|
Heroku mostly does this right with its 'slug' system, and I made Cartage specifically to be able to make deployable packages that use dependencies. You have a build machine that’s connected to the network and can reach RubyGems (and, in the future with some plug-in work, other packaging systems—I expect to add Node, Elixir, and Lua soon) and that will vendor the resulting build and give you a tarball that is just installable with all of the dependencies of your package.