The last computer I installed capybara-webkit on did not require full xcode, only the command line tools. However, now when I try to install it on a new computer, I run into the following:
Try to install:
$ gem install capybara-webkit
Get error about license: Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
Try to accept license: $ xcodebuild -license
Get error about only having command line tools: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
At this point I've just given up and started installing xcode, but it seems silly that I have to install a 4.5GB IDE just so I can accept a license agreement for the command line tools. Is there any way around that?