Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't install local gem file on Solaris10 #4023

Open
markluopp opened this issue Jul 21, 2016 · 3 comments
Open

can't install local gem file on Solaris10 #4023

markluopp opened this issue Jul 21, 2016 · 3 comments

Comments

@markluopp
Copy link

Environment

$ jruby -v
jruby 9.1.2.0 (2.3.0) 2016-05-26 7357c8f Java HotSpot(TM) 64-Bit Server VM 25.25-b02 on 1.8.0_25-b17 +jit [solaris-x86_64]
$ cat /etc/release
 Solaris 10 1/06 s10x_u1wos_19a X86
$ gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 2.6.4
  - RUBY VERSION: 2.3.0 (2016-05-26 patchlevel 0) [java]
  - INSTALLATION DIRECTORY: /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/gems/shared
  - USER INSTALLATION DIRECTORY: /export/home/dw_dev/.gem/jruby/2.3.0
  - RUBY EXECUTABLE: /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/bin/jruby
  - EXECUTABLE DIRECTORY: /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/bin
  - SPEC CACHE DIRECTORY: /export/home/dw_dev/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/etc
  - RUBYGEMS PLATFORMS:
    - ruby
    - universal-java-1.8
  - GEM PATHS:
     - /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/gems/shared
     - /export/home/dw_dev/.gem/jruby/2.3.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
     - "install" => "--no-rdoc --no-ri --env-shebang"
     - "update" => "--no-rdoc --no-ri --env-shebang"
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /usr/bin
     - /usr/sfw/bin
     - /opt/sfw/bin
     - /usr/local/bin
     - /usr/ccs/bin
     - /usr/ucb
     - /usr/sbin
     - .
     - /home/data/dw_clsfd/geluo/jruby-9.1.2.0/bin/

Want to install a local gem file

$ jruby -S gem install jruby-httpclient-1.1.1-java.gem
LoadError: no such file to load -- rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider
             require at org/jruby/RubyKernel.java:944
             require at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55
  <class:Resolution> at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb:119
    <class:Resolver> at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb:5
  <module:Molinillo> at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb:3
               <top> at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb:2
             require at org/jruby/RubyKernel.java:944
             require at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55
      <class:(root)> at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/resolver/molinillo/lib/molinillo/resolver.rb:1
   <module:Resolver> at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/resolver/molinillo/lib/molinillo/resolver.rb:11
               <top> at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/resolver/molinillo/lib/molinillo/resolver.rb:10
             require at org/jruby/RubyKernel.java:944
             require at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55
               <top> at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/resolver/molinillo/lib/molinillo/resolver.rb:4
             require at org/jruby/RubyKernel.java:944
             require at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55
               <top> at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/resolver/molinillo/lib/molinillo.rb:1
             require at org/jruby/RubyKernel.java:944
             require at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55
      <class:(root)> at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/resolver/molinillo/lib/molinillo.rb:4
               <top> at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/resolver/molinillo.rb:1
              (root) at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/resolver/molinillo.rb:2
              (root) at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/resolver.rb:1
               <top> at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/resolver.rb:17
             require at org/jruby/RubyKernel.java:944
             require at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55
              (root) at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/resolver.rb:16
              (root) at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/request_set.rb:1
     resolve_current at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/request_set.rb:380
      finish_resolve at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems.rb:218
              (root) at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/rdoc.rb:15
              (root) at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/commands/install_command.rb:1
               <top> at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/commands/install_command.rb:280
                load at org/jruby/RubyKernel.java:962
               <top> at /export/home/data/dw_clsfd/geluo/jruby-9.1.2.0/bin/gem:4
@markluopp
Copy link
Author

change to 1.7.25, install success

@kares
Copy link
Member

kares commented Jul 21, 2016

still, sounds like a 9K bug, maybe could you please verify if downgrading RGs to 2.5.2 works (on 9.1.2).

@kares kares reopened this Jul 21, 2016
@markluopp
Copy link
Author

can not downgrade to 2.5.2

$ jruby -S gem update --system 2.5.2
ERROR:  Loading command: update (LoadError)
        no such file to load -- rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider
ERROR:  While executing gem ... (NoMethodError)
    undefined method `invoke_with_build_args' for nil:NilClass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants