Bug#655245: vim-addon-manager: Does not work with Ruby 1.9 as default

Antonio Terceiro terceiro at debian.org
Mon Jan 9 17:56:44 UTC 2012

Package: vim-addon-manager
Version: 0.4.4
Severity: important
Tags: patch

$ dpkg -l vim-addon-manager
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Nome                            Versão                         Descrição
ii  vim-addon-manager               0.4.4                           manager of addons for the Vim editor
$ readlink -f /usr/bin/ruby
$ vim-addons list
/usr/bin/vim-addons:241: warning: (...) interpreted as grouped expression
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- vim/addon-manager (LoadError)
  from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
  from /usr/bin/vim-addons:157:in `<main>'

I migrated vim-addon-manager to use gem2deb, our new Ruby packaging helper.
This includes support for both Ruby 1.8 and 1.9, and required modifying
vim-addon-manager sources to use the standard Ruby layout (library code in
lib/, programs in bin/). You can check the patches by fetching from
(master branch)

The patches, in chronological order, are:

9b466a8 Turning vim-addon-manager in a proper Ruby project
876ff66 Add new changelog entry
f8c70a6 move Makefile to doc/
57e7277 Bump standards version and debhelper dependency
ba7ea69 Add missing debian/source/format
233e57b Minimal build-time testing
c98aa49 Install only *.txt at /usr/share/doc
5a30b7a Fix indentation

(the last is a bonus ;-))

After this bug gets a number, I will add another patch that includes
this bug number in the changelog.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.utf8, LC_CTYPE=pt_BR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vim-addon-manager depends on:
ii  ruby            4.8
ii  ruby1.8 [ruby]
ii  vim-common      2:7.3.363-1

Versions of packages vim-addon-manager recommends:
ii  vim            2:7.3.363-1
ii  vim-gtk [vim]  2:7.3.363-1

vim-addon-manager suggests no packages.

-- no debconf information

Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20120109/8ed587b7/attachment.pgp>

More information about the pkg-vim-maintainers mailing list