开发者

How to distribute ruby software in debian environments

开发者 https://www.devze.com 2022-12-08 05:16 出处:网络
How to easily package software that uses multiple gems into a debi开发者_Python百科an installable packages?You have a couple options

How to easily package software that uses multiple gems into a debi开发者_Python百科an installable packages?


You have a couple options

1) package your application as a gem using jeweler By making it a gem, you can specify dependencies in the gemspec, so when it is installed rubygems will automatically attempt to install the needed gems.

This is probably the easiest thing

2) run an apt-server and package your app for it. There are some instructions on running an apt server on the ubuntu help pages. Packaging your app is somewhat complicated looking, but boils down to:

  • writing install/uninstall etc scripts
  • writing config files

Get started with this doc on the ibm developerworks

0

精彩评论

暂无评论...
验证码 换一张
取 消