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

1.1.1 release corrupts Gemfile.lock on MRI #52

Closed
dueckes opened this issue Jul 13, 2016 · 6 comments
Closed

1.1.1 release corrupts Gemfile.lock on MRI #52

dueckes opened this issue Jul 13, 2016 · 6 comments

Comments

@dueckes
Copy link

dueckes commented Jul 13, 2016

A bundle update on a Gemfile containing:

source 'http://rubygems.org'

gem 'sys-proctable', '1.1.1'

Results in:

$ bundle update
Fetching gem metadata from http://rubygems.org/
Fetching version metadata from http://rubygems.org/
Resolving dependencies...
Your Gemfile.lock is corrupt. The following gem is missing from the DEPENDENCIES section: 'ffi'

This issue also occurs for version 1.1.0. It does not occur on version 1.0.0.

This issue may provide some insights:
rubygems/bundler#4467

@djberg96
Copy link
Owner

@dueckes I'm not sure what's up, but I don't think my gem is the cause. Someone else posted about a dependency isssue recently: #51

What does gem dependency sys-proctable show?

@dueckes
Copy link
Author

dueckes commented Jul 17, 2016

@djberg96 Dependency list is as follows:

$ gem dependency sys-proctable
Gem sys-proctable-1.0.0-universal-darwin
  rake (>= 0, development)
  test-unit (>= 0, development)

Gem sys-proctable-1.1.1-universal-darwin
  ffi (>= 0)
  rake (>= 0, development)
  test-unit (>= 0, development)

Based on the sys-proctable.gemspec, I'm a little confused as to the origin of the ffi dependency.

Interestingly bundle update works after adding an explicit ffi dependency in the Gemfile:

source 'http://rubygems.org'

gem 'sys-proctable', '1.1.1'
gem 'ffi', '~> 1.9'

@djberg96
Copy link
Owner

@dueckes I suspect this is an issue with bundler and platform handling. What happens if you uninstall the older version?

@dueckes
Copy link
Author

dueckes commented Jul 18, 2016

Tried uninstalling all versions. Same result. Should the gem have an ffi dependency?

@djberg96
Copy link
Owner

@dueckes As of 1.1.0, the darwin gem has a dependency on FFI, yes.

@djberg96
Copy link
Owner

@dueckes Going to close this issue, as I think this one falls on bundler and/or ffi.

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

2 participants