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

conflict between json dependancy and ruby2.5 embed json version #49

Open
Marc3001 opened this issue Jul 10, 2018 · 0 comments
Open

conflict between json dependancy and ruby2.5 embed json version #49

Marc3001 opened this issue Jul 10, 2018 · 0 comments

Comments

@Marc3001
Copy link

I get an error when trying to bundle exec a worker built in ruby2.5 image with this gem.

bundler: failed to load command: rake (/usr/local/bin/rake)
Gem::LoadError: You have already activated json 2.1.0, but your Gemfile requires json 1.8.6. Since json is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports json as a default gem.
  /usr/local/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:313:in `check_for_activated_spec!'
  /usr/local/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:31:in `block in setup'
  /usr/local/lib/ruby/2.5.0/forwardable.rb:229:in `each'
  /usr/local/lib/ruby/2.5.0/forwardable.rb:229:in `each'
  /usr/local/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:26:in `map'
  /usr/local/lib/ruby/site_ruby/2.5.0/bundler/runtime.rb:26:in `setup'
  /usr/local/lib/ruby/site_ruby/2.5.0/bundler.rb:107:in `setup'
  /usr/local/lib/ruby/site_ruby/2.5.0/bundler/setup.rb:20:in `<top (required)>'
  /usr/local/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  /usr/local/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'

Is it possible to remove json dependancy when used with ruby2.5 ?

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

1 participant