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

Error: Cannot link pebble-sdk #50

Closed
BorzdeG opened this issue Aug 20, 2018 · 1 comment
Closed

Error: Cannot link pebble-sdk #50

BorzdeG opened this issue Aug 20, 2018 · 1 comment

Comments

@BorzdeG
Copy link

BorzdeG commented Aug 20, 2018

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
Copy link

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

  • uninstall pebble-sdk
    brew uninstall pebble-sdk

  • cd into the homebrew-pebble-sdk directory
    cd /usr/local/Homebrew/Library/Taps/pebble/homebrew-pebble-sdk/

  • remove the remote origin of the homebrew-pebble-sdk repository
    git remote rm origin

  • add a new remote 'origin' that references the pebble-dev fork of this repo
    git remote add origin https://github.com/pebble-dev/homebrew-pebble-sdk.git

  • update the repo with the new commits from the pebble-dev fork
    git pull origin master

  • install pebble-sdk
    brew install pebble-sdk

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

@BorzdeG BorzdeG closed this as completed Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants