2013-09-25 121 views
1

安裝水豚,WebKit的,我一直按照以下說明在Mac OS X 10.8安裝水豚,WebKit的。我已經下載並安裝:不能在Mac OS

  • QT-MAC-開源-4.8.5
  • QT-MAC-開源-4.8.5-調試庫
  • Xcode中的命令行工具+我後來裝全的XCode 5.0
  • QT4使用BREW

順序

運行沒必要引發錯誤

# lots of output omitted 
/Users/lenart/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/fileutils.rb:1620:in `stat': No such file or directory - src/webkit_server (Errno::ENOENT) 
    from /Users/lenart/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/fileutils.rb:1620:in `block in fu_each_src_dest' 
    from /Users/lenart/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/fileutils.rb:1633:in `fu_each_src_dest0' 
    from /Users/lenart/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/fileutils.rb:1618:in `fu_each_src_dest' 
    from /Users/lenart/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/fileutils.rb:466:in `cp' 
    from /Users/lenart/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/capybara-webkit-1.0.0/lib/capybara_webkit_builder.rb:76:in `build' 
    from /Users/lenart/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/capybara-webkit-1.0.0/lib/capybara_webkit_builder.rb:88:in `build_all' 
    from extconf.rb:2:in `<main>' 


Gem files will remain installed in /Users/lenart/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/capybara-webkit-1.0.0 for inspection. 
Results logged to /Users/lenart/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/capybara-webkit-1.0.0/./gem_make.out 

我試着重新安裝QT,安裝XQuartz-2.7.4,...沒有運氣。有沒有在Github上類似的問題:(

跟蹤下面是一些額外的信息應該是幫助別人找出原因 - http://pastie.org/8355714

回答

1

感覺傻傻的回答我的問題,但看起來像我需要實際運行Xcode和接受其條款和條件。這樣做,運行gem install capybara-webkit工作後。

+2

這個網站是不是人,但良好的Q/A,所以並不覺得太傻了。:-) – lpapp