danielbayley / homebrew-adobe

@Homebrew tap for @Adobe apps and plugins.
https://adobe.com/creativecloud
MIT License
29 stars 4 forks source link

Invalid cask: media-encoder-cc.rb (Cannot tap danielbayley/adobe: invalid syntax in tap!) #2

Open ghost opened 3 years ago

ghost commented 3 years ago

Unable to tap:

$ brew tap danielbayley/adobe
Updating Homebrew...
==> Tapping danielbayley/adobe
Cloning into '/usr/local/Homebrew/Library/Taps/danielbayley/homebrew-adobe'...
remote: Enumerating objects: 20, done.
remote: Counting objects: 100% (20/20), done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 340 (delta 4), reused 16 (delta 2), pack-reused 320
Receiving objects: 100% (340/340), 55.96 KiB | 707.00 KiB/s, done.
Resolving deltas: 100% (212/212), done.
Error: Invalid cask: /usr/local/Homebrew/Library/Taps/danielbayley/homebrew-adobe/Casks/media-encoder-cc.rb
Cask 'media-encoder-cc' is unreadable: cannot load such file -- nokogiri
Error: Cannot tap danielbayley/adobe: invalid syntax in tap!
$ brew --version
Homebrew 3.0.4
Homebrew/homebrew-core (git revision fefcc2; last commit 2021-03-09)
Homebrew/homebrew-cask (git revision 4fd5e6; last commit 2021-03-09)

on macOS Big Sur 11.2.1 (20D74)

mtimofiiv commented 3 years ago

I had the same issue. Try doing this:

cd /usr/local/Homebrew/Library/Taps
mkdir danielbayley
cd danielbayley
git clone https://github.com/danielbayley/homebrew-adobe.git

That worked for me. However the README also needs adjusting. The commands should be:

$ brew install --cask after-effects-cc
archebyte commented 3 years ago

brew tap danielbayley/adobe ==> Tapping danielbayley/adobe Cloning into '/usr/local/Homebrew/Library/Taps/danielbayley/homebrew-adobe'... remote: Enumerating objects: 340, done. remote: Counting objects: 100% (20/20), done. remote: Compressing objects: 100% (15/15), done. remote: Total 340 (delta 4), reused 16 (delta 3), pack-reused 320 Receiving objects: 100% (340/340), 55.96 KiB | 774.00 KiB/s, done. Resolving deltas: 100% (212/212), done. Error: Invalid cask: /usr/local/Homebrew/Library/Taps/danielbayley/homebrew-adobe/Casks/media-encoder-cc.rb Cask 'media-encoder-cc' is unreadable: cannot load such file -- nokogiri Error: Cannot tap danielbayley/adobe: invalid syntax in tap!

Homebrew 3.1.5 Homebrew/homebrew-core (git revision c9ab40fd00; last commit 2021-05-05)

Then tried brew install: brew tap danielbayley/adobe. failed (as above) Had to try @mtimofiiv solution to install. Then tried below. Error.

brew install --cask lottie Updating Homebrew... ==> Caveats Lottie remains referenced as Bodymovin within After Effects.

==> Downloading https://github.com/airbnb/lottie-web/archive/v5.1.9.zip ==> Downloading from https://codeload.github.com/airbnb/lottie-web/zip/v5.1.9

-=O=-

==> Installing dependencies: exmancmd ==> Downloading https://adobe.com/go/ExManCmdMac ==> Downloading from http://download.macromedia.com/pub/extensionmanager/ExManCm ######################################################################## 100.0% Warning: No checksum defined for cask 'exmancmd', skipping verification. ==> Installing Cask exmancmd ==> Linking Binary 'ExManCmd' to '/usr/local/bin/exmancmd' 🍺 exmancmd was successfully installed! ==> Installing Cask lottie ==> Running installer script '/usr/local/bin/exmancmd' Extension Manager init failed, status = -175! ==> Purging files for version 5.1.9 of Cask lottie Error: Failure while executing; /usr/bin/env PATH=/usr/local/bin:/usr/local/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm:/usr/bin:/bin:/usr/sbin:/sbin /usr/local/bin/exmancmd --install /usr/local/Caskroom/lottie/5.1.9/lottie-web-5.1.9/build/extension/bodymovin.zxp exited with 81. Here's the output: Extension Manager init failed, status = -175!

archebyte commented 3 years ago

I switched to the ZXP method of installing the bodymovin plugin and that seemed to do the trick.