How to create a debian package from ruby source code? -
we trying create debian package ruby source code. it's fluentd software. know pre-built debian package fluentd exists. because of build systems in our ocmpany have create debian package manually.
we did try out deb2gem create deb package source running issues while building it.
any pointers how build debian package scratch - using ruby source code helpful.
so here steps followed.
our work environment - doesn't let outside connections production hosts. can't gem install fluentd.
since it's debian wheezy build, need build debian package , install on it. can't download binary debian package fluentd provides , use - have build source.
so, followed procedure:
download actual gem of fluentd here - https://rubygems.org/gems/fluentd
then use gem2deb tool create debian source files/templates. debian/control file looks - http://pastebin.com/chjxdjmi
so when run debuild -uc -us -b - technically should build .deb package. errors these - http://pastebin.com/feyfarrq
the ruby version on host doing 2.3.1 think gem2deb uses ruby 1.9.1. , fluentd needs ruby >=1.9.3 build source.
so stuck at. think if don't use gem2deb have figure out way checkout source code of fluentd git , build debian package scratch.
there not info how go anywhere except - https://wiki.debian.org/teams/ruby/packaging
appreciate in advance!
thanks
Comments
Post a Comment