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

undefined method `assertions' for main:Object #2984

Closed
jackystd opened this issue Jul 31, 2017 · 7 comments
Closed

undefined method `assertions' for main:Object #2984

jackystd opened this issue Jul 31, 2017 · 7 comments

Comments

@jackystd
Copy link

➜ ~ brew tap zeroc-ice/tap
==> Tapping zeroc-ice/tap
Cloning into '/usr/local/Homebrew/Library/Taps/zeroc-ice/homebrew-tap'...
remote: Counting objects: 21, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 21 (delta 7), reused 7 (delta 4), pack-reused 0
Unpacking objects: 100% (21/21), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/zeroc-ice/homebrew-tap/Formula/php56-ice.rb
undefined method assertions' for main:Object Error: Invalid formula: /usr/local/Homebrew/Library/Taps/zeroc-ice/homebrew-tap/Formula/php56-ice37b0.rb undefined method assertions' for main:Object
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/zeroc-ice/homebrew-tap/Formula/php70-ice.rb
undefined method assertions' for main:Object Error: Invalid formula: /usr/local/Homebrew/Library/Taps/zeroc-ice/homebrew-tap/Formula/php70-ice37b0.rb undefined method assertions' for main:Object
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/zeroc-ice/homebrew-tap/Formula/php71-ice.rb
undefined method assertions' for main:Object Error: Invalid formula: /usr/local/Homebrew/Library/Taps/zeroc-ice/homebrew-tap/Formula/php71-ice37b0.rb undefined method assertions' for main:Object
Error: Cannot tap zeroc-ice/tap: invalid syntax in tap!

help, i search in google and find no answer for work,how can i solved this error?

@jackystd
Copy link
Author

➜ ~ brew config
HOMEBREW_VERSION: 1.2.6
ORIGIN: https://github.com/Homebrew/brew
HEAD: 867590b
Last commit: 4 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: e843d87
Core tap last commit: 7 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 8.1 build 802
Git: 2.11.0 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /Users/liujun/.rvm/rubies/ruby-2.4.0/bin/ruby
Java: 1.8.0_121, 1.6.0_65-b14-468
macOS: 10.12.6-x86_64
Xcode: 8.3.3
CLT: 8.3.2.0.1.1492020469
X11: N/A

@MikeMcQuaid
Copy link
Member

Report this to https://github.com/zeroc-ice/homebrew-tap

@MikeMcQuaid
Copy link
Member

Actually, can we see your brew doctor output and can you try without rvm in your PATH? Thanks!

@jackystd
Copy link
Author

jackystd commented Aug 4, 2017

➜ ~ brew doctor
Your system is ready to brew.
➜ ~

@jackystd
Copy link
Author

jackystd commented Aug 4, 2017

Thanks!
It look like miss some dependencies for ice, but some other mac install normal,why i got this error?

@jackystd
Copy link
Author

jackystd commented Aug 5, 2017

I solved with:
➜ ~ sudo /usr/bin/gem uninstall minitest

@ilovezfs
Copy link
Contributor

ilovezfs commented Aug 5, 2017

@iosliujun glad you got it sorted out.

@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants