0
我在Gemfile中添加了一些gem,特別是activerecord,sinatra-activerecord,sqlite3,shotgun和tux。當我運行'捆綁安裝'時,我得到這個奇怪的錯誤,似乎沒有關於它的任何Googleable信息。以下是錯誤我得到:錯誤:安裝bond時出錯:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb
make "DESTDIR=" clean
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
make "DESTDIR="
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
make failed, exit code 69
Gem files will remain installed in /usr/local/rvm/gems/ruby-2.1.1/gems/bond-0.5.1 for inspection.
Results logged to /usr/local/rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-12/2.1.0-static/bond-0.5.1/gem_make.out
An error occurred while installing bond (0.5.1), and Bundler cannot continue.
Make sure that `gem install bond -v '0.5.1'` succeeds before bundling.
我然後運行建議
gem install bond -v '0.5.1'
,並得到這個:
Building native extensions. This could take a while...
ERROR: Error installing bond:
ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb
make "DESTDIR=" clean
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
make "DESTDIR="
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
make failed, exit code 69
Gem files will remain installed in /usr/local/rvm/gems/ruby-2.1.1/gems/bond-0.5.1 for inspection.
Results logged to /usr/local/rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-12/2.1.0-static/bond-0.5.1/gem_make.out