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

(maint) fix gem build from source #2404

Merged
merged 3 commits into from
Jun 30, 2021
Merged

Conversation

gimmyxd
Copy link
Contributor

@gimmyxd gimmyxd commented Jun 30, 2021

Using gem build facter.gemspec failed because pathname was not loaded
Using gem build agent/facter-ng.gemspec failed because the paths were not taking into consideration that the build is relative to the agent folder.

~/Workspace/facter  pl/main ⇡                                                                                                                                                                                                                                                       2.7.2
❯ gem build agent/facter-ng.gemspec
  Successfully built RubyGem
  Name: facter-ng
  Version: 4.2.2
  File: facter-ng-4.2.2.gem

~/Workspace/facter  pl/main ⇡                                                                                                                                                                                                                                                       2.7.2
❯ gem build facter.gemspec
  Successfully built RubyGem
  Name: facter
  Version: 4.2.2
  File: facter-4.2.2.gem

~/Workspace/facter  pl/main ⇡

Fixed a couple of warnings in .gemspec

Fixes the following warning:
```
WARNING:  open-ended dependency on rake (>= 12.3.3, development) is not recommended
  if rake is semantically versioned, use:
    add_development_dependency 'rake', '~> 12.3', '>= 12.3.3'
```
Using `gem build facter.gemspec` failed because
`pathname` was not loaded

Using `gem build agent/facter-ng.gemspec` failed
because the paths were not taking in consideration
that the build is relative to the `agent` folder.
@gimmyxd gimmyxd requested review from a team June 30, 2021 07:41
@gimmyxd gimmyxd merged commit 1f127b1 into puppetlabs:main Jun 30, 2021
@gimmyxd gimmyxd deleted the maint/fix_gem_build branch June 30, 2021 08:36
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

Successfully merging this pull request may close these issues.

None yet

2 participants