pebble / homebrew-pebble-sdk

Pebble Homebrew Tap
16 stars 22 forks source link

Error: Cannot link pebble-sdk #50

Closed BorzdeG closed 5 years ago

BorzdeG commented 6 years ago

brew install pebble/pebble-sdk/pebble-sdk

output:

==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/pebble-sdk/4.5/libexec --single-version-externally-managed --record=installed.txt
Error: undefined method `undent' for #<String:0x00000001033cf290>
Please report this bug:
  https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Taps/pebble/homebrew-pebble-sdk/pebble-sdk.rb:228:in `caveats'
/usr/local/Homebrew/Library/Homebrew/caveats.rb:17:in `caveats'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/forwardable.rb:202:in `empty?'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:610:in `caveats'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:659:in `finish'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:322:in `install_formula'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:253:in `block in install'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:251:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:251:in `install'
/usr/local/Homebrew/Library/Homebrew/brew.rb:87:in `<main>

https://gist.github.com/BorzdeG/90adbf720c305f7b42c53cee24bf6e08

jpcastberg commented 5 years ago

I was able to resolve this issue by running the following commands:

After that, I initialized the rocky.js watchface tutorial in a separate directory, and followed the instructions. Everything seems to be working now!