[pkg-uWSGI-devel] Bug#791847: Bug#791847: uwsgi: FTBFS with ruby2.2: Error: unable to find directory 'plugins/rack_ruby21'

Antonio Terceiro terceiro at debian.org
Thu Jul 9 17:21:23 UTC 2015


On Thu, Jul 09, 2015 at 08:47:26AM -0500, Jonas Smedegaard wrote:
> Quoting Christian Hofstaedtler (2015-07-09 00:58:37)
> > * Jonas Smedegaard <dr at jones.dk> [150709 01:27]:
> >> Quoting Christian Hofstaedtler (2015-07-08 14:46:43)
> >>> We're planning to switch the ruby version in unstable to 2.2, and 
> >>> shortly after that 2.1 will be removed.
> >>
> >> Could you please pretty please provide a mechanism for resolving 
> >> which is the main Ruby version at any time.
> >
> > With ruby and ruby-all-dev from experimental:
> >
> > % dh_ruby --print-supported
> > ruby2.2
> >
> > With ruby and ruby-all-dev from unstable:
> >
> > % dh_ruby --print-supported                
> > ruby2.1
> > ruby2.2
> >
> > I'd suggest you build for all ruby versions, as much as you currently 
> > build for all lua versions. If you can not, then build for the first 
> > ruby version in the returned list.
> 
> Thanks, that is valuable info.  I recommend you include somewhere 
> canonical - nd point to that canonical place so that people like me can 
> track that for eventual future updates :-)

/usr/share/doc/ruby/README.Debian

  ruby-defaults: Ruby for Debian
  ------------------------------

  The purpose of the ruby-defaults package is to provide binary packages (mostly
  metapackages) that will install the currently supported Ruby interpreter.
  Specifically:

  - ruby          Depends on the default Ruby interpreter.

  - ruby-dev      Depends on the development files for the default Ruby interpreter

  - ruby-all-dev  Depends on the development files for all supported Ruby
                  interpreters. This will usually be a single version (the
                  default one), but during transitions in unstable multiple
                  versions might be supported.

                  If you are not building Ruby packages for Debian, you probably
                  do not need it.

                  When building Debian packages, it is OK to only build for the
                  default version, and using just `ruby` (instead of harcoding
                  the current default) will do that in a future-proof way.

  To programatically list all the supported versions, install the `gem2deb`
  package and run `dh_ruby --print-supported`. To determine which is the default
  version, just dereference the /usr/bin/ruby symbolic link.

-- 
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-uwsgi-devel/attachments/20150709/25fec3c9/attachment.sig>


More information about the pkg-uWSGI-devel mailing list