2021-01-13
Homebrew
(env) jazzwang:~$ brew cask create readmoo Error: Calling brew cask create is disabled! Use brew create --cask --set-name <name> <url> instead. (env) jazzwang:~$ brew create --cask --set-name readmoo https://cdn.readmoo.com/download/apps/desktop/osx64/el/Readmoo_Desktop-0.7.4.dmg ==> Downloading https://cdn.readmoo.com/download/apps/desktop/osx64/el/Readmoo_Desktop-0.7.4.dmg Please run `brew audit --cask --new readmoo` before submitting, thanks. Editing /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/readmoo.rb Warning: Using vim because no editor was set in the environment. This may change in the future, so we recommend setting EDITOR, or HOMEBREW_EDITOR to your preferred text editor.
cask "readmoo" do version "0.7.4" sha256 "8efe99c238c37159c664c99b7522ee1c949af4e1bc52b95db80272241e150b6c" url "https://cdn.readmoo.com/download/apps/desktop/osx64/el/Readmoo_Desktop-#{version}.dmg" name "Readmoo Reader" desc "Readmoo Reader is the largest EPUB e-book service in Taiwan with tens of thousands of EPUB e-books." homepage "https://readmoo.com/" end
- 跑完 audit 以後反而爛掉~
(env) jazzwang:~$ brew create --cask --set-name readmoo https://cdn.readmoo.com/download/apps/desktop/osx64/el/Readmoo_Desktop-0.7.4.dmg ==> Downloading https://cdn.readmoo.com/download/apps/desktop/osx64/el/Readmoo_Desktop-0.7.4.dmg ######################################################################## 100.0% Please run `brew audit --cask --new readmoo` before submitting, thanks. Editing /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/readmoo.rb Warning: Using vim because no editor was set in the environment. This may change in the future, so we recommend setting EDITOR, or HOMEBREW_EDITOR to your preferred text editor. (env) jazzwang:~$ brew audit --cask --new readmoo ==> Installing 'bundler' gem Fetching bundler-1.17.3.gem Fetching gem metadata from https://rubygems.org/......... Fetching concurrent-ruby 1.1.7 Fetching zeitwerk 2.4.2 Fetching minitest 5.14.2 Installing zeitwerk 2.4.2 Fetching ast 2.4.1 Installing concurrent-ruby 1.1.7 Installing ast 2.4.1 Installing minitest 5.14.2 Fetching bindata 2.4.8 Using bundler 1.17.3 Fetching byebug 11.1.3 Installing bindata 2.4.8 Installing byebug 11.1.3 with native extensions Fetching docile 1.3.4 Fetching simplecov-html 0.12.3 Installing docile 1.3.4 Fetching simplecov_json_formatter 0.1.2 Installing simplecov_json_formatter 0.1.2 Fetching coderay 1.1.3 Installing simplecov-html 0.12.3 Fetching colorize 0.8.1 Installing coderay 1.1.3 Installing colorize 0.8.1 Fetching highline 2.0.3 Fetching connection_pool 2.2.3 Installing highline 2.0.3 Installing connection_pool 2.2.3 Fetching diff-lcs 1.4.4 Fetching unf_ext 0.0.7.7 Installing diff-lcs 1.4.4 Fetching hpricot 0.8.6 Installing unf_ext 0.0.7.7 with native extensions Fetching mime-types-data 3.2020.1104 Installing mime-types-data 3.2020.1104 Fetching net-http-digest_auth 1.4.1 Installing hpricot 0.8.6 with native extensions Installing net-http-digest_auth 1.4.1 Fetching mini_portile2 2.4.0 Installing mini_portile2 2.4.0 Fetching ntlm-http 0.1.1 Installing ntlm-http 0.1.1 Fetching webrobots 0.1.2 Installing webrobots 0.1.2 Fetching method_source 1.0.0 Installing method_source 1.0.0 Fetching mustache 1.1.1 Installing mustache 1.1.1 Fetching parallel 1.20.1 Installing parallel 1.20.1 Fetching rainbow 3.0.0 Installing rainbow 3.0.0 Fetching sorbet-runtime 0.5.6164 Fetching plist 3.5.0 Installing sorbet-runtime 0.5.6164 Installing plist 3.5.0 Fetching rack 2.2.3 Fetching rdiscount 2.2.0.2 Installing rdiscount 2.2.0.2 with native extensions Installing rack 2.2.3 Fetching regexp_parser 2.0.0 Installing regexp_parser 2.0.0 Fetching rexml 3.2.4 Installing rexml 3.2.4 Fetching rspec-support 3.10.0 Installing rspec-support 3.10.0 Fetching sorbet-static 0.5.6164 (universal-darwin-14) Installing sorbet-static 0.5.6164 (universal-darwin-14) Fetching ruby-progressbar 1.10.1 Installing ruby-progressbar 1.10.1 Fetching unicode-display_width 1.7.0 Fetching ruby-macho 2.5.0 Installing unicode-display_width 1.7.0 Fetching sorbet-runtime-stub 0.2.0 Installing ruby-macho 2.5.0 Fetching thor 1.0.1 Installing sorbet-runtime-stub 0.2.0 Fetching parser 2.7.2.0 Installing thor 1.0.1 Fetching elftools 1.1.3 Installing parser 2.7.2.0 Installing elftools 1.1.3 Fetching i18n 1.8.5 Installing i18n 1.8.5 Fetching tzinfo 2.0.3 Fetching simplecov 0.20.0 Installing tzinfo 2.0.3 Installing simplecov 0.20.0 Fetching net-http-persistent 4.0.0 Fetching commander 4.5.2 Installing net-http-persistent 4.0.0 Fetching mime-types 3.3.1 Installing commander 4.5.2 Fetching nokogiri 1.10.10 Installing mime-types 3.3.1 Fetching pry 0.13.1 Installing pry 0.13.1 Fetching parallel_tests 3.4.0 Installing parallel_tests 3.4.0 Fetching unf 0.1.4 Installing unf 0.1.4 Fetching rspec-core 3.10.0 Installing rspec-core 3.10.0 Fetching rspec-expectations 3.10.0 Installing rspec-expectations 3.10.0 Fetching rspec-mocks 3.10.0 Installing rspec-mocks 3.10.0 Fetching sorbet 0.5.6164 Installing sorbet 0.5.6164 Fetching patchelf 1.3.0 Installing patchelf 1.3.0 Fetching rubocop-ast 1.3.0 Installing rubocop-ast 1.3.0 Fetching activesupport 6.1.0 Installing activesupport 6.1.0 Fetching codecov 0.2.15 Installing codecov 0.2.15 Fetching parlour 4.0.1 Installing parlour 4.0.1 Fetching domain_name 0.5.20190701 Installing domain_name 0.5.20190701 Fetching rspec-github 2.3.1 Installing rspec-github 2.3.1 Fetching rspec-retry 0.6.2 Installing rspec-retry 0.6.2 Fetching rspec-its 1.3.0 Installing rspec-its 1.3.0 Fetching rspec 3.10.0 Installing rspec 3.10.0 Fetching rspec-sorbet 1.8.0 Installing rspec-sorbet 1.8.0 Fetching spoom 1.0.7 Installing spoom 1.0.7 Fetching rubocop 1.5.1 Installing rubocop 1.5.1 Fetching http-cookie 1.0.3 Installing http-cookie 1.0.3 Fetching rspec-wait 0.0.9 Installing rspec-wait 0.0.9 Fetching tapioca 0.4.10 Installing tapioca 0.4.10 Fetching rubocop-performance 1.9.1 Installing rubocop-performance 1.9.1 Fetching rubocop-rails 2.9.1 Installing rubocop-rails 2.9.1 Fetching rubocop-rspec 2.1.0 Installing rubocop-rspec 2.1.0 Fetching rubocop-sorbet 0.5.1 Installing rubocop-sorbet 0.5.1 Installing nokogiri 1.10.10 with native extensions Fetching ronn 0.7.3 Installing ronn 0.7.3 Fetching mechanize 2.7.6 Installing mechanize 2.7.6 Bundle complete! 27 Gemfile dependencies, 77 gems now installed. Bundled gems are installed into `../../usr/local/Homebrew/Library/Homebrew/vendor/bundle` Post-install message from i18n: HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. But that may break your application. If you are upgrading your Rails application from an older version of Rails: Please check your Rails app for 'config.i18n.fallbacks = true'. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be 'config.i18n.fallbacks = [I18n.default_locale]'. If not, fallbacks will be broken in your app by I18n 1.1.x. If you are starting a NEW Rails application, you can ignore this notice. For more info see: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 Post-install message from sorbet: Thanks for installing Sorbet! To use it in your project, first run: bundle exec srb init which will get your project ready to use with Sorbet. After that whenever you want to typecheck your code, run: bundle exec srb tc For more docs see: https://sorbet.org/docs/adopting Removing i18n (1.8.7) Removing ruby-progressbar (1.11.0) Removing activesupport (6.1.1) Removing rubocop-performance (1.9.2) Removing tzinfo (2.0.4) Removing plist (3.6.0) Error: cannot load such file -- ruby-progressbar Please report this issue: https://docs.brew.sh/Troubleshooting /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:117:in `require' /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:117:in `require' /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rubocop-1.5.1/lib/rubocop/formatter/fuubar_style_formatter.rb:3:in `<top (required)>' /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rubocop-1.5.1/lib/rubocop.rb:615:in `require_relative' /usr/local/Homebrew/Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/rubocop-1.5.1/lib/rubocop.rb:615:in `<top (required)>' /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in `require' /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:130:in `rescue in require' /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:34:in `require' /usr/local/Homebrew/Library/Homebrew/style.rb:79:in `run_rubocop' /usr/local/Homebrew/Library/Homebrew/style.rb:54:in `check_style_impl' /usr/local/Homebrew/Library/Homebrew/style.rb:36:in `check_style_json' /usr/local/Homebrew/Library/Homebrew/dev-cmd/audit.rb:167:in `audit' /usr/local/Homebrew/Library/Homebrew/brew.rb:124:in `<main>' (env) jazzwang:~$ bundle exec srb init Could not locate Gemfile or .bundle/ directory (env) jazzwang:~$ brew doctor Traceback (most recent call last): 4: from /usr/local/Homebrew/Library/Homebrew/brew.rb:31:in `<main>' 3: from /usr/local/Homebrew/Library/Homebrew/brew.rb:31:in `require_relative' 2: from /usr/local/Homebrew/Library/Homebrew/global.rb:22:in `<top (required)>' 1: from /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require' /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- active_support/core_ext/object/blank (LoadError)
- 重裝 Homebrew 修復
(env) jazzwang:~$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Last modified 4 years ago
Last modified on Jan 13, 2021, 4:01:48 PM