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

Problem with bundler TypeError #3667

Closed
lephyrius opened this issue Feb 15, 2016 · 2 comments
Closed

Problem with bundler TypeError #3667

lephyrius opened this issue Feb 15, 2016 · 2 comments

Comments

@lephyrius
Copy link

I get this error:

TypeError: no implicit conversion of Regexp into String
                 end_with? at org/jruby/RubyString.java:3754
                     path= at /usr/local/var/rbenv/versions/jruby-9.0.5.0/lib/ruby/stdlib/rubygems/path_support.rb:62
                initialize at /usr/local/var/rbenv/versions/jruby-9.0.5.0/lib/ruby/stdlib/rubygems/path_support.rb:35
                     paths at /usr/local/var/rbenv/versions/jruby-9.0.5.0/lib/ruby/stdlib/rubygems.rb:329
                      path at /usr/local/var/rbenv/versions/jruby-9.0.5.0/lib/ruby/stdlib/rubygems.rb:352
                      dirs at /usr/local/var/rbenv/versions/jruby-9.0.5.0/lib/ruby/stdlib/rubygems/defaults/jruby.rb:84
                 stubs_for at /usr/local/var/rbenv/versions/jruby-9.0.5.0/lib/ruby/stdlib/rubygems/specification.rb:850
                 find_name at /usr/local/var/rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/bundler-1.11.2/lib/bundler/rubygems_integration.rb:655
           block in report at /usr/local/var/rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/bundler-1.11.2/lib/bundler/env.rb:23
                      each at org/jruby/RubyArray.java:1560
                    report at /usr/local/var/rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/bundler-1.11.2/lib/bundler/env.rb:22
  request_issue_report_for at /usr/local/var/rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/bundler-1.11.2/lib/bundler/friendly_errors.rb:74
      with_friendly_errors at /usr/local/var/rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/bundler-1.11.2/lib/bundler/friendly_errors.rb:49
                     <top> at /usr/local/var/rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/bundler-1.11.2/exe/bundle:17
                      load at org/jruby/RubyKernel.java:955
                     <top> at /usr/local/var/rbenv/versions/jruby-9.0.5.0/bin/bundle:23

When I run "bundle".

ruby -v
jruby 9.0.5.0 (2.2.3) 2016-01-26 7bee00d Java HotSpot(TM) 64-Bit Server VM 25.66-b17 on 1.8.0_66-b17 +jit [darwin-x86_64]
gem -v
2.5.2
bundle -v
Bundler version 1.11.2

Seems pretty low level. Hope I'm reporting correct.

@mkristian
Copy link
Member

rubygems-2.5.2 is broken for jruby:
rubygems/rubygems#1488
and it is already fixed upstream see also:
rubygems/rubygems#1476

could you confirm that rubyems-2.5.1 works for you ?

@lephyrius
Copy link
Author

@mkristian I can confirm!
Close...

@enebo enebo added this to the Invalid or Duplicate milestone Apr 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants