Translation(s): none


Building with gem2deb

Choose a package

Go to piratepad and choose a package you want to build. Make sure no one else is working with it already.

Use apt-cache to check if it is already packaged for Debian

apt-cache search devise ruby

"devise" being a pattern.

In case you are not running Sid you can also check at:

and make sure you choose "unstable" for Distribution. Check at

if someone is already packaging it. Also check it with

wnpp-check devise

A pdf file which contains the info if a gem is already packaged is to be found here:

You will have to check the wnpp site or with wnpp-check anyway.

Build the package

First you need install gem2deb

apt-get install gem2deb

Create a build directory and go there

mkdir -p ~/Build/diaspora-packaging && cd !$

You might also want to create a directory for your package

mkdir build_devise && cd !$

and then run

gem2deb devise

will run "gem fetch devise" to download the package. If you get an error that the Test failed, go to piratepad and look for the solution.

Now you have to edit files like

You will find such info at

and the homepage of the package. The homepage you will find at rubygems too.

Once that is done build the package with

dpkg-buildpackage

If you get an error that it could not be signed, ignore it for now.

And when it has finished check for lintian errors:

lintian -iIEcv --pedantic --color auto ruby-devise*.changes

If you get errors, you have to correct them. Then run dpkg-buildpackage again and test with lintian again.