pkgsrc-Users archive

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

(ruby) "gem200.new list -r -q .." differs machine to machine



Hi, I have two NetBSD/amd64 environments, one with 6.1.4 and the other is 7.99.1.

Both machines have misc/rubygems installed as
   ruby200-rubygems-2.0.10nb2 Ruby standard for publishing and managing third party libraries

But with the command
"gem200.new list -r -q abstract",

One returns nothing 
+------------------
| h87@makoto 10:29:08/150114(/usr/pkgsrc)% gem200.new list -r -q abstract     
| 
| *** REMOTE GEMS ***
+------------------

and the other returns many lines.
+------------------
| modena@makoto 10:29:15/150114(~)% gem200.new list -r -q abstract         
| 
| *** REMOTE GEMS ***
| 
| abstract (1.0.0)
| abstract-data-types (0.0.1)
| 
|  .. some 25 lines ommitted ..
| 
| abstractable (1.0.3)
| abstraction (0.0.4)
| abstractor (4.1.2)
| abstractstack (0.0.3)
+------------------

With the command 
 "gem200.new environment"

The outputs only differs at the line:
--- /home/makoto/prep/modena    2015-01-14 10:21:19.000000000 +0900
+++ /home/makoto/prep/h87       2015-01-14 10:20:55.000000000 +0900
@@ -1,6 +1,6 @@
 RubyGems Environment:
   - RUBYGEMS VERSION: 2.0.10
-  - RUBY VERSION: 2.0.0 (2014-05-08 patchlevel 481) [x86_64-netbsd]
+  - RUBY VERSION: 2.0.0 (2014-11-13 patchlevel 598) [x86_64-netbsd]

I found (after ktrace -t n)  the size of
  /usr/pkg/lib/ruby/gems/2.0.0/specifications
are different.

modena@makoto 10:47:12/150114(/usr/pkgsrc)% du -s  /usr/pkg/lib/ruby/gems/2.0.0/specifications
1224    /usr/pkg/lib/ruby/gems/2.0.0/specifications

h87@makoto 10:46:19/150114(/usr/pkgsrc)% du -s  /usr/pkg/lib/ruby/gems/2.0.0/specifications
56      /usr/pkg/lib/ruby/gems/2.0.0/specifications

It looks to me these are by
  ruby200-base-2.0.0p481   (large set)
or
  ruby200-base-2.0.0p598   (small set)

Why those are too different ?
Thanks a lot in advance,
---
mef%NetBSD.org@localhost
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.

(modena)
RubyGems Environment:
  - RUBYGEMS VERSION: 2.0.10
  - RUBY VERSION: 2.0.0 (2014-05-08 patchlevel 481) [x86_64-netbsd]
  - INSTALLATION DIRECTORY: /usr/pkg/lib/ruby/gems/2.0.0
  - RUBY EXECUTABLE: /usr/pkg/bin/ruby200
  - EXECUTABLE DIRECTORY: /usr/pkg/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-netbsd
  - GEM PATHS:
     - /usr/pkg/lib/ruby/gems/2.0.0
     - /home/makoto/.gem/ruby/2.0.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - https://rubygems.org/


Home | Main Index | Thread Index | Old Index