On Thu, May 28, 2015 at 02:24:43AM +0000, Potter, Tim (Cloud Services) wrote:
> It looks like this has been fixed, at least in sid:
> 
> root@56264f4d8fa9:/Source/pkg-java/jruby# cat /etc/issue
> Debian GNU/Linux 8 \n \l
> 
> root@56264f4d8fa9:/Source/pkg-java/jruby# ruby -v
> ruby 2.1.5p273 (2014-11-13) [x86_64-linux-gnu]
> 
> root@56264f4d8fa9:/Source/pkg-java/jruby# irb
> irb(main):001:0> puts $LOAD_PATH
> /usr/local/lib/site_ruby/2.1.0
> /usr/local/lib/x86_64-linux-gnu/site_ruby
> /usr/local/lib/site_ruby
> /usr/lib/ruby/vendor_ruby/2.1.0
> /usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.1.0
> /usr/lib/ruby/vendor_ruby
> /usr/lib/ruby/2.1.0
> /usr/lib/x86_64-linux-gnu/ruby/2.1.0
> => nil

Hi Tim,

I'm afraid you were testing with Matz's ruby, right?

When you run jruby 1.5.6-10 in sid, you can see the default value for
$LOAD_PATH:

miguel@nina:~/packages/jruby/jruby-1.7.19$ dpkg-query -l jruby
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                     Version                   
Architecture              Description
+++-========================================-=========================-=========================-=====================================================================================
ii  jruby                                    1.5.6-10                  all      
                 100% pure-Java implementation of Ruby
miguel@nina:~/packages/jruby/jruby-1.7.19$ jirb
irb(main):001:0> puts $:
/usr/lib/jruby//lib/ruby/site_ruby/1.8
/usr/lib/jruby//lib/ruby/site_ruby/shared
/usr/lib/jruby//lib/ruby/1.8
.
=> nil
miguel@nina:~/packages/jruby/jruby-1.7.19$ dpkg-query -l jruby
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                     Version                   
Architecture              Description
+++-========================================-=========================-=========================-=====================================================================================
ii  jruby                                    1.7.19-1~miguel6          all      
                 100% pure-Java implementation of Ruby
miguel@nina:~/packages/jruby/jruby-1.7.19$ jirb 
irb(main):001:0> puts $:
/usr/share/jruby/lib/ruby/1.9/site_ruby
/usr/share/jruby/lib/ruby/shared
/usr/share/jruby/lib/ruby/1.9
/usr/lib/ruby/vendor_ruby
=> nil


You can see, the vendor_ruby directory was not added until this 1.7.19-1 
pending upload.

This is the fix I come up with:

http://anonscm.debian.org/cgit/pkg-java/jruby.git/commit/?h=experimental&id=bfdc4e0c9eb425ddb5fb470a8e126bf960f08479

Cheers,

-- 
Miguel Landaeta, nomadium at debian.org
secure email with PGP 0x6E608B637D8967E9 available at http://miguel.cc/key.
"Faith means not wanting to know what is true." -- Nietzsche

Attachment: signature.asc
Description: Digital signature

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to