[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DONE: ruby-ole, ruby-rqrcode



Jonas Genannt dijo [Mon, Dec 02, 2013 at 05:57:24PM +0100]:
> > > Could any dd please have a look?
> > 
> > I've uploaded ruby-polyglot, ruby-rqrcode and ruby-ole.
> > 
> > Note that I tried to make the example from polyglot's README run, but
> > didn't manage: I got an uninitialized constant Hello (NameError).
> > (same with the one in unstable before). Does it work for you?
> 
> I didn't try polyglot.

Hmm... As polyglot didn't ship any test cases, I just did a "require
'polyglot'" inside IRB and checked for Polyglot.methods' output. But
no, I didn't run the README. And yes, it fails — First of all, because
'require' does not look for a file in the cwd, but even prefixing the
filename with ./ still fails at finding the .rgl file.

> > For ruby-barby, I think there are missing dependencies: there are
> > outputter files requiring ruby-cairo, ruby-prawn, ruby-rmagick,
> > ruby-chunky-png (maybe more).
> > Can you check? 
> 
> I have checked and forgotten to add this packages to Recommands, because I think Depends
> is not correct, because you need -png only if you create png output for that.
> 
> I will add this dependencies to the packages.

Oh :( And it seems I botched this as well, as I uploaded barby as it
was. My main comparison was with the previous version, but it seems I
f*cked it up:

>> require 'barby'
=> true
>> require 'barby/outputter/png_outputter'
LoadError: cannot load such file -- chunky_png
	   from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
	   from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
	   from /usr/lib/ruby/vendor_ruby/barby/outputter/png_outputter.rb:2:in `<top (required)>'
	   from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
	   from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
	   from (irb):2
	   from /usr/bin/irb:12:in `<main>'

So, yes, I should fix and re-upload. :-( I will check all of the
outputters now. I do regularly use ruby-barby, and it works fine with
the rmagick outputter at least, but it should work with all.


Reply to: