You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a trouble install appium_lib: gem install -n /usr/local/bin appium_lib
it returns errors:
Building native extensions. This could take a while...
ERROR: Error installing appium_lib:
ERROR: Failed to build gem native extension.
current directory: /Library/Ruby/Gems/2.6.0/gems/websocket-driver-0.7.3/ext/websocket-driver
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /Library/Ruby/Site/2.6.0 -r ./siteconf20210204-29857-kx6gbj.rb extconf.rb
creating Makefile
current directory: /Library/Ruby/Gems/2.6.0/gems/websocket-driver-0.7.3/ext/websocket-driver
make DESTDIR\= clean
current directory: /Library/Ruby/Gems/2.6.0/gems/websocket-driver-0.7.3/ext/websocket-driver
make DESTDIR\=
make: *** No rule to make target `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/universal-darwin19/ruby/config.h', needed by `websocket_mask.o'. Stop.
make failed, exit code 2
Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/websocket-driver-0.7.3 for inspection.
Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-19/2.6.0/websocket-driver-0.7.3/gem_make.out
The text was updated successfully, but these errors were encountered:
I don't have any experience using the macOS system Ruby; most users typically install Ruby using rvm, rbenv or ruby-install. However, recently the most common cause of build failures for me is that macOS has uninstalled Xcode and all associated C headers as part of a software update, and I need to reinstall Xcode to get anything to build again.
Is this an ongoing problem, or can we close this issue? I am mostly not equipped to deal with compiler errors but here's what I've been telling most issues like this:
We don't do anything special with the extension config, we just tell rubygems about it:
I'm not able to provide support for OSes other than Ubuntu and macOS, but usually compiler issues aren't to do with this gem specifically but some other problem with the environment gems are being compiled in.
I have a trouble install appium_lib:
gem install -n /usr/local/bin appium_lib
it returns errors:
The text was updated successfully, but these errors were encountered: