Skip to content

Error Loading executable-hooks And gem-wrappers After Upgrading To rvm 2.3.4 #31

Open
@ecssiah

Description

@ecssiah

I'm getting some failures in a gem that depends on executable-hooks and gem-wrappers. bundle install produces the following error messages:

Error loading RubyGems plugin "/Users/michaelchapman/.rvm/gems/ruby-2.3.4@global/gems/executable-hooks-1.4.2/lib/rubygems_plugin.rb": cannot load such file -- executable-hooks/wrapper (LoadError)
Error loading RubyGems plugin "/Users/michaelchapman/.rvm/gems/ruby-2.3.4@global/gems/gem-wrappers-1.3.2/lib/rubygems_plugin.rb": cannot load such file -- gem-wrappers (LoadError)

Both gems are ignored by bundler. It says their extensions are not built. I have run gem pristine --all and it says that the relevant versions have had their extensions built and are restored, but it doesn't seem to help.

When I run the gem that relies on these two, I get some failures with rspec that seem to originate with executable-hooks...

/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/ripper/lexer.rb:123:in `_push_token': undefined method `state' for #<Ripper::Lexer:0x007feb3927b330 @buf=[], @stack=[]> (NoMethodError)

...

from /Users/michaelchapman/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in `eval'
	from /Users/michaelchapman/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in `<main>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions