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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lynis formula update from 2.7.1 to 2.7.2 #37999

Merged
merged 1 commit into from Mar 18, 2019
Merged

Conversation

Jahhein
Copy link
Contributor

@Jahhein Jahhein commented Mar 18, 2019

  • Have you followed the guidelines for contributing?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • [ See Below ] Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

Updating the formula manually without brew brew bump-formula-pr to do it for me. However I cannot do an audit either as for several weeks now every brew command gives me ruby gem errors. I still haven't figured out why.

brew install --build-from-source lynis
/Library/Ruby/Site/2.3.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- rubygems/core_ext/kernel_warn (LoadError)
	from /Library/Ruby/Site/2.3.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /Library/Ruby/Site/2.3.0/rubygems.rb:1395:in `<top (required)>'
	from <internal:gem_prelude>:4:in `require'
	from <internal:gem_prelude>:4:in `<internal:gem_prelude>'
Updating Homebrew...
Warning: lynis 2.7.2 is already installed and up-to-date
To reinstall 2.7.2, run `brew reinstall lynis`
brew install --build-from-source lynis
/Library/Ruby/Site/2.3.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- rubygems/core_ext/kernel_warn (LoadError)
	from /Library/Ruby/Site/2.3.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from /Library/Ruby/Site/2.3.0/rubygems.rb:1395:in `<top (required)>'
	from <internal:gem_prelude>:4:in `require'
	from <internal:gem_prelude>:4:in `<internal:gem_prelude>'
==> Downloading https://downloads.cisofy.com/lynis/lynis-2.7.2.tar.gz
Already downloaded: /Users/jahhein/Library/Caches/Homebrew/downloads/3b8745d64eb8fd6fb23292cfbb68f16a359697d30c4b8dd71c25f82103096a37--lynis-2.7.2.tar.gz
馃嵑  /usr/local/Cellar/lynis/2.7.2: 100 files, 1.3MB, built in 3 seconds

ruby & ruby gems are broken on my system so I can't audit.

brew audit --strict lynis
==> Installing 'bundler' gem
ERROR:  Can't use --version w/ multiple gems. Use name:ver instead.
Error: failed to install the 'bundler' gem.

I tried for weeks to fix it.

Hoping someone can finish it since I can't. Thanks.

@fxcoudert fxcoudert merged commit 2a96e8b into Homebrew:master Mar 18, 2019
@fxcoudert
Copy link
Member

Thanks @Jahhein

@Jahhein
Copy link
Contributor Author

Jahhein commented Mar 19, 2019

@fxcoudert Glad is was still alright.

But if anyone has any idea what is wrong with my ruby/gems errors I'd be a very happy developer. :)

basic troubleshooting didn't work. Either an env variable is the issue or bad rbenv/chruby stuff. Doubt its a binary as 2.3 is protected by macOS, I think.

@igas
Copy link
Contributor

igas commented Mar 20, 2019

@Jahhein have you tried to switch to system ruby and/or do brew vendor-install ruby?

@lock lock bot added the outdated PR was locked due to age label Apr 19, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Apr 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants