2

cloudbees で capybara-webkit を実行したいのですが、このエラーに遭遇しましたbundle

SocketCommand.h:4:19: fatal error: QObject: No such file or directory
compilation terminated.

Qtをインストールしたい。

$ sudo apt-get install libqt4-dev
sudo: no tty present and no askpass program specified

$ apt-get install libqt4-dev
apt-get: command not found

Qt のインストール方法 ジェンキンスプラグイン?

4

1 に答える 1

2

QT ライブラリは DEV@Cloud スレーブに既にインストールされています。カピバラ gem をインストールするには、次のように設定する必要があります。

QMAKE=/usr/bin/qmake-qt4

次に、cloudbees ruby​​ アドオン スクリプトを実行します。

curl -s -o use-ruby https://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/ruby/use-ruby
RUBY_VERSION=1.9.3-p327
source ./use-ruby

ビルドスクリプトをセットアップして依存関係をインストールします

gem install --conservative bundler
bundle install

(または同等)

于 2013-06-25T07:03:11.963 に答える