Is it possible to install capybara-webkit with only xcode command line tools?
On the last machine I installed capybara-webkit on, no full xcode is required, only command line tools. However, now when I try to install it on a new computer, I am faced with the following:
Try to install:
$ gem install capybara-webkit
Get license error: Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
Try to accept the license: $ xcodebuild -license
Get error only if command line tools are available: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
At this point, I just gave up and started installing xcode, but it seems silly to me that I need to install an environment ID with 4.5GB so that I can accept the license agreement for the command line tools. Is there a way to get around this?
source to share
As you can read in the capybara-webkit wiki and the QT wiki , this is not possible since capybara-webkit requires QT .
Qt 5 unfortunately requires full Xcode (> 5 GB) to be installed, unlike previous versions of Qt that did not. NB: We warn against using tools that try not to install full Xcode by overwriting system files in / usr / bin as this caused problems for other users, forcing them to reinstall OSX.
Currently, OSX requires at least XCode version 5.1. This will remain a requirement for Qt WebEngine. Changing this setting would require significant changes to the Chromium codebase that go against the direction of Chromium.
source to share