Your message dated Fri, 24 Apr 2015 11:12:36 +0200
with message-id <[email protected]>
and subject line fixed as gem2deb changed the way shebangs are rewritten
has caused the Debian Bug report #686311,
regarding rd2 invokes $HOME/bin/ruby
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
686311: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686311
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rdtool
Version: 0.6.34-4
rd2 command doesn't work on my environment:
% rd2 -h
/home/akr/ruby/o0/lib/ruby/2.0.0/rubygems/custom_require.rb:36:in
`require': cannot load such file -- rd/rdfmt (LoadError)
from /home/akr/ruby/o0/lib/ruby/2.0.0/rubygems/custom_require.rb:36:in
`require'
from /usr/bin/rd2:30:in `<main>'
This is because I have $HOME/bin/ruby for my development and
rd2 uses /usr/bin/env to invoke ruby.
% which ruby
/home/akr/bin/ruby
% head -1 /usr/bin/rd2
#!/usr/bin/env ruby
Invoking rd2 with /usr/bin/ruby works fine:
% /usr/bin/ruby /usr/bin/rd2 -h
Usage: /usr/bin/rd2 [options] rd-file > output
global options:
-r, --require=LIB choose format library.
-oNAME indicate base name of output file
--out-code=KCODE character encoding of
output.(jis|euc|sjis|utf8)
--output-index output method index file (*.rmi)
-I, --include-path=PATH add PATH to list of include path
--with-part=PART include PART with Filter
--from-rdo load from *.rdo instead of *.rd
--version print versions.
--help print this message
Since rd2 command works only ruby binary with rd library,
I think /usr/bin/env should not be used and
the line should be changed to #!/usr/bin/ruby.
% dpkg -l|grep rdtool
ii rdtool 0.6.34-4
all RD document formatter
--
Tanaka Akira
--- End Message ---
--- Begin Message ---
Control: fixed -1 rdtool/0.6.38-3
Hi,
For some time now, gem2deb, the tool used to package Ruby libraries,
changed the way it rewrites shebangs for scripts, from /usr/bin/env ruby
to /usr/bin/ruby. This has changed with version 0.7 from gem2deb,
released in February 2014.
The version of rdtool present in Jessie has a /usr/bin/ruby shebang, so
it should not use the interpreter you have in $HOME/bin. I'm thus
closing this bug.
Cheers,
Cédric
signature.asc
Description: Digital signature
--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers