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

brew cask style failed #52775

Closed
7 tasks done
CryoTheRenegade opened this issue Oct 3, 2018 · 41 comments
Closed
7 tasks done

brew cask style failed #52775

CryoTheRenegade opened this issue Oct 3, 2018 · 41 comments
Labels
bug Issue describing a reproducible bug. outdated stale Issue which has not received any feedback for some time.

Comments

@CryoTheRenegade
Copy link
Contributor

CryoTheRenegade commented Oct 3, 2018

General troubleshooting steps

Description of issue

{{Whenever I try to use brew cask style' or cask-repair` both come back with some error}}

Command that failed

{{brew cask style}} {{cask-repair}}

Output of command with --force --verbose --debug

{{Jacobs-MacBook-Air:~ jacobledbetter$ brew cask style --force --verbose --debug
Error: invalid option: --force
/usr/local/Homebrew/Library/Homebrew/cask/cmd/options.rb:63:in `process_arguments'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/abstract_command.rb:41:in `initialize'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/abstract_command.rb:34:in `new'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/abstract_command.rb:34:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:89:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:155:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:120:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:7:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:91:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:160:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:160:in `rescue in run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:143:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:120:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:7:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:91:in `<main>'}}

Output of brew cask doctor

{{Jacobs-MacBook-Air:~ jacobledbetter$ brew cask doctor
==> Homebrew Version
1.7.6-70-g8f03ea7
==> macOS
10.14
==> SIP
Enabled
==> Java
11
==> Gatekeeper support
Enabled
==> Homebrew Cask Install Location
<NONE>
==> Homebrew Cask Staging Location
/usr/local/Caskroom
==> Homebrew Cask Taps:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask (4036 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-versions (204 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-eid (11 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-fonts (1177 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-drivers (152 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/ruby-macho-2.1.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/plist-3.4.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/
/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/backports-3.11.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/activesupport-5.2.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/tzinfo-1.2.5/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/thread_safe-0.3.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/minitest-5.11.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/i18n-1.1.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle-standalone/bundler/../ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib
/Library/Ruby/Gems/2.3.0/gems/did_you_mean-1.0.0/lib
/Library/Ruby/Site/2.3.0
/Library/Ruby/Site/2.3.0/x86_64-darwin18
/Library/Ruby/Site/2.3.0/universal-darwin18
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/x86_64-darwin18
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby/2.3.0/universal-darwin18
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/x86_64-darwin18
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/universal-darwin18
/usr/local/Homebrew/Library/Homebrew
==> Environment Variables
LC_ALL="en_US.UTF-8"
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm"
SHELL="/bin/bash"}}

Output of brew tap

{{Jacobs-MacBook-Air:~ jacobledbetter$ brew tap
homebrew/cask
homebrew/cask-drivers
homebrew/cask-eid
homebrew/cask-fonts
homebrew/cask-versions
homebrew/core
vitorgalvao/tiny-scripts}}
@CryoTheRenegade
Copy link
Contributor Author

@joewiz
Copy link
Contributor

joewiz commented Oct 3, 2018

I'm facing the same issue. I'll add the output of the --debug flag:

$ brew cask style --debug
Ignoring jaro_winkler-1.5.1 because its extensions are not built.  Try: gem pristine jaro_winkler --version 1.5.1
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- jaro_winkler (LoadError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-0.59.2/lib/rubocop/string_util.rb:3:in `<top (required)>'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-0.59.2/lib/rubocop.rb:21:in `require_relative'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-0.59.2/lib/rubocop.rb:21:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-0.59.2/exe/rubocop:6:in `<top (required)>'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/bin/rubocop:22:in `load'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/bin/rubocop:22:in `<main>'
Error: style check failed
/usr/local/Homebrew/Library/Homebrew/cask/cmd/style.rb:15:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/abstract_command.rb:34:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:89:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:155:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:120:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:7:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:91:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:160:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:160:in `rescue in run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:143:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:120:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:7:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:91:in `<main>'

@CryoTheRenegade
Copy link
Contributor Author

Thx

@danielbayley
Copy link
Contributor

danielbayley commented Oct 5, 2018

Same 😞

> cmd brew cask style --debug
Ignoring jaro_winkler-1.5.1 because its extensions are not built.  Try: gem pristine jaro_winkler --version 1.5.1
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- jaro_winkler (LoadError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-0.59.1/lib/rubocop/string_util.rb:3:in `<top (required)>'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-0.59.1/lib/rubocop.rb:21:in `require_relative'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-0.59.1/lib/rubocop.rb:21:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-0.59.1/exe/rubocop:6:in `<top (required)>'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/bin/rubocop:22:in `load'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/bin/rubocop:22:in `<main>'
Error: style check failed
/usr/local/Homebrew/Library/Homebrew/cask/cmd/style.rb:15:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/abstract_command.rb:34:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:89:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:155:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:120:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:7:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:91:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:160:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:160:in `rescue in run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:143:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:120:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:7:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:91:in `<main>'

then gem pristine jaro_winkler --version 1.5.1 doesn't fix it as suggested, either…

@danielbayley
Copy link
Contributor

FYI, this comment fixed it. But that probably doesn't solve whatever was the root cause…

@CryoTheRenegade
Copy link
Contributor Author

Probably a software update or Mojave

@CryoTheRenegade
Copy link
Contributor Author

Didn't work for me

@commitay
Copy link
Contributor

commitay commented Oct 6, 2018

Please run:

brew update && brew cleanup (note cleanup will remove some cached files)

and try brew cask style again.

@CryoTheRenegade
Copy link
Contributor Author

Sorry to say

Jacobs-Air:~ jacobledbetter$ brew cask style
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- jaro_winkler (LoadError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-0.59.2/lib/rubocop/string_util.rb:3:in `<top (required)>'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-0.59.2/lib/rubocop.rb:21:in `require_relative'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-0.59.2/lib/rubocop.rb:21:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-0.59.2/exe/rubocop:6:in `<top (required)>'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/bin/rubocop:22:in `load'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/bin/rubocop:22:in `<main>'
Error: style check failed

@MindTooth
Copy link
Contributor

Not sure why it solves it, but my go to fix lately has been to run:

brew vendor-install ruby

Wether if it's a good idea or not, I don't know, but at least is solves the issue temporarily.

@CryoTheRenegade
Copy link
Contributor Author

Didn't work

@CryoTheRenegade
Copy link
Contributor Author

So... does anyone have any idea what I can do?

@MindTooth
Copy link
Contributor

Hi again,

Just had my own error about did_you_mean. Instead of applying my own suggestion, I searched my system Ruby, and I had some gems installed there. Removed the ones that came up as an error.

/usr/bin/gem --list

@CryoTheRenegade
Copy link
Contributor Author

Except the jaro-winkler gem that brew needs to style is broken and I have no clue how to fix it

@ShivaHuang
Copy link
Contributor

This issue also breaks CI server. Does anyone knows the root cause or how to fix it?

@CryoTheRenegade
Copy link
Contributor Author

I have yet to determine what the root cause was, my first guess was my upgrade to Mojave.

@ShivaHuang
Copy link
Contributor

I'm running it on High Sierra and got the same error, so I think it not only happened on Mojave.
Also, the CI server breaks down.

@ShivaHuang ShivaHuang mentioned this issue Oct 16, 2018
10 tasks
@CryoTheRenegade
Copy link
Contributor Author

Huh, weird

@ShivaHuang
Copy link
Contributor

ShivaHuang commented Oct 18, 2018

I found the way to fix cask-repair.
Open cask-repair which located in /usr/local/bin on my machine.
Change line #502 from

style_message=$(brew cask style --fix "${cask_file}" 2>/dev/null)

to

style_message=$(brew cask style --fix "${cask_name}" 2>/dev/null)

The difference between cask_file and cask_name is that cask_file have the .rb postfix.
It seems brew cask style changed the meaning of input parameter, so when running brew cask style --fix "${cask_name} now checks no cask - and that's an error for the flow and keep asking you to fix it.

However, since the CI server also break because of brew cask style, I'm not sure this should be fixed in cask-repair. Further more, this issue on CI server seems to be fixed, maybe brew cask style fixed it's behavior?

Updated:
I think brew cask style has fixed this issue. See Homebrew/brew@a838b37#diff-434a752265eb1d125f34b2594587abac
So no change needed to cask-repair.

@joewiz
Copy link
Contributor

joewiz commented Oct 19, 2018

Even after brew update, brew cask style still fails for me, as does cask-repair.

brew cask style

$ cd "$(brew --repository)"/Library/Taps/Homebrew/homebrew-cask
$ brew cask style Casks/oxygen-xml-editor.rb 
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- jaro_winkler (LoadError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-0.59.2/lib/rubocop/string_util.rb:3:in `<top (required)>'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-0.59.2/lib/rubocop.rb:21:in `require_relative'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-0.59.2/lib/rubocop.rb:21:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/gems/rubocop-0.59.2/exe/rubocop:6:in `<top (required)>'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/bin/rubocop:22:in `load'
	from /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.3.0/bin/rubocop:22:in `<main>'
Error: style check failed
Joes-MacBook-Pro-13-PAHO:homebrew-cask joe$ brew cask style Casks/oxygen-xml-editor
Error: Cask 'oxygen-xml-editor' is unavailable: No Cask with this name exists. Did you mean “oxygen-xml-editor ✔”?

cask-repair

$ cask-repair oxygen-xml-editor
Updating taps… Already up-to-date.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cask 'oxygen-xml-editor' do
  version :latest
  sha256 :no_check

  url 'http://mirror.oxygenxml.com/InstData/Editor/MacOSX/VM/oxygen.dmg'
  name 'oXygen XML Editor'
  homepage 'https://www.oxygenxml.com/xml_editor.html'

  suite 'Oxygen XML Editor'
end
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Type the new version (or leave blank to use current one, or use `s` to skip)
> 
Paste the new URL (or leave blank to use the current one)
> https://www.oxygenxml.com/InstData/Editor/MacOSX/VM/oxygen.dmg
diff --git a/Casks/oxygen-xml-editor.rb b/Casks/oxygen-xml-editor.rb
index c05dd2b6b..230f73b8c 100644
--- a/Casks/oxygen-xml-editor.rb
+++ b/Casks/oxygen-xml-editor.rb
@@ -2,7 +2,7 @@ cask 'oxygen-xml-editor' do
   version :latest
   sha256 :no_check
 
-  url 'http://mirror.oxygenxml.com/InstData/Editor/MacOSX/VM/oxygen.dmg'
+  url 'https://www.oxygenxml.com/InstData/Editor/MacOSX/VM/oxygen.dmg'
   name 'oXygen XML Editor'
   homepage 'https://www.oxygenxml.com/xml_editor.html'
 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
• 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Is everything correct? ([y]es / [n]o / [e]dit) y
diff --git a/Casks/oxygen-xml-editor.rb b/Casks/oxygen-xml-editor.rb
index c05dd2b6b..230f73b8c 100644
--- a/Casks/oxygen-xml-editor.rb
+++ b/Casks/oxygen-xml-editor.rb
@@ -2,7 +2,7 @@ cask 'oxygen-xml-editor' do
   version :latest
   sha256 :no_check
 
-  url 'http://mirror.oxygenxml.com/InstData/Editor/MacOSX/VM/oxygen.dmg'
+  url 'https://www.oxygenxml.com/InstData/Editor/MacOSX/VM/oxygen.dmg'
   name 'oXygen XML Editor'
   homepage 'https://www.oxygenxml.com/xml_editor.html'
 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
• 
• 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Is everything correct? ([y]es / [n]o / [e]dit) ^C
You aborted.

@ShivaHuang
Copy link
Contributor

I think thats different issue. In your case, the problem seems missing the gem jaro_winkler which is required by rubocop.

/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- jaro_winkler (LoadError)

Maybe you should check if this gem installed, or try to reinstall it again and see if it works?

@vitorgalvao
Copy link
Member

Please stop discussing cask-repair in this context, as it only fills the issue with irrelevant information, making it harder to parse. cask-repair uses brew cask style directly, so it’s natural that if the latter fails, so does the former; and you fix the former by fixing the latter. There’s nothing wrong with cask-repair.

@CryoTheRenegade
Copy link
Contributor Author

Noted, now the question is how do we fix brew cask style?

@joewiz
Copy link
Contributor

joewiz commented Oct 22, 2018

Maybe you should check if this gem installed, or try to reinstall it again and see if it works?

I beg your forgiveness, but I'm gem-illiterate. Could you suggest some specific commands that I should run? I've updated & upgraded homebrew, and brew doctor says I'm ready to brew. But brew cask style fails with the jaro_winkler error quoted above. I'd be happy to try your suggestions and will report back with my results.

@joewiz
Copy link
Contributor

joewiz commented Oct 22, 2018

Here are some attempts to answer the question about if I have jaro_winkler installed (no, it appears). As you can tell, I am not a ruby user - I just use homebrew and thus depend on brew cask style.

$ gem list

*** LOCAL GEMS ***

bigdecimal (1.2.8)
CFPropertyList (2.2.8)
did_you_mean (1.0.0)
io-console (0.4.5)
json (1.8.3.1)
libxml-ruby (2.9.0)
minitest (5.8.5)
net-telnet (0.1.1)
nokogiri (1.5.6)
power_assert (0.2.6)
psych (2.1.0.1)
rake (10.4.2)
rdoc (4.2.1)
sqlite3 (1.3.11)
test-unit (3.1.5)

$ gem install jaro_winkler
Fetching: jaro_winkler-1.5.1.gem (100%)
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.

$ brew search rubocop
No formula or cask found for "rubocop".

$ gem install rubocop
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.

@CryoTheRenegade
Copy link
Contributor Author

CryoTheRenegade commented Oct 22, 2018 via email

@vitorgalvao
Copy link
Member

Seems like the vendor-install method is fixing it for most users, so closing.

@reitermarkus
Copy link
Member

This is actually a bug in Mojave, so I'll reopen this as a tracking issue.

https://openradar.appspot.com/46465917
https://openradar.appspot.com/46487252

@reitermarkus reitermarkus reopened this Dec 5, 2018
@reitermarkus reitermarkus added the bug Issue describing a reproducible bug. label Dec 5, 2018
@jsatk
Copy link

jsatk commented Dec 5, 2018

Thank you @reitermarkus .

@adzenith adzenith mentioned this issue Jan 25, 2019
10 tasks
@nolith nolith mentioned this issue Jan 25, 2019
10 tasks
@stale stale bot added stale Issue which has not received any feedback for some time. and removed stale Issue which has not received any feedback for some time. labels Feb 7, 2019
@stale stale bot added the stale Issue which has not received any feedback for some time. label Mar 1, 2019
@Homebrew Homebrew deleted a comment from stale bot Mar 1, 2019
@stale stale bot removed the stale Issue which has not received any feedback for some time. label Mar 1, 2019
@Homebrew Homebrew deleted a comment from stale bot Mar 1, 2019
@stale stale bot added the stale Issue which has not received any feedback for some time. label Mar 22, 2019
@Homebrew Homebrew deleted a comment from stale bot Mar 23, 2019
@stale stale bot removed the stale Issue which has not received any feedback for some time. label Mar 23, 2019
@stale
Copy link

stale bot commented Apr 13, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale Issue which has not received any feedback for some time. label Apr 13, 2019
@stale stale bot closed this as completed Apr 20, 2019
@lock lock bot added the outdated label May 20, 2019
@lock lock bot locked as resolved and limited conversation to collaborators May 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue describing a reproducible bug. outdated stale Issue which has not received any feedback for some time.
Projects
None yet
Development

No branches or pull requests