johnbintz/jasmine-headless-webkit — Issue #80: No runner found, attempting to compile...
Author: morganchristiansson
Created: 2011-11-16 12:43:39+00:00
State: open

I'm trying to run jasmine-headless-webkit on our jenkins CI setup and am having trouble running it after setting up rvm multi-user and ubnd.

```
$ bundle exec jasmine-headless-webkit
No runner found, attempting to compile...
make: *** No rule to make target `clean'. Stop.
qmake is not installed or is not the right version (jasmine-headless-webkit needs Qt 4.7 or above).
You'll need to install it to build jasmine-headless-webkit.
sudo apt-get install libqt4-dev qt4-qmake on Debian-based systems, or downloading
Nokia's prebuilt binary at http://qt.nokia.com/downloads/ should do it for you.
true
[jasmine-headless-webkit] The jasmine-headless-webkit specrunner (jasmine-webkit-specrunner) could not be found! Try reinstalling the gem. (Jasmine::Headless::NoRunnerError)
/var/lib/jenkins/jobs/fca-master/workspace/vendor/bundle/ruby/1.8/gems/jasmine-headless-webkit-0.7.3.1/lib/jasmine/headless/runner.rb:37:in `initialize'
/var/lib/jenkins/jobs/fca-master/workspace/vendor/bundle/ruby/1.8/gems/jasmine-headless-webkit-0.7.3.1/bin/jasmine-headless-webkit:15:in `new'
/var/lib/jenkins/jobs/fca-master/workspace/vendor/bundle/ruby/1.8/gems/jasmine-headless-webkit-0.7.3.1/bin/jasmine-headless-webkit:15
bin/jasmine-headless-webkit:16:in `load'
bin/jasmine-headless-webkit:16
```

```

jenkins@intra$ qmake-qt4 -v
QMake version 2.01a
Using Qt version 4.6.2 in /usr/lib
jenkins@intra$ qmake -v
QMake version 2.01a
Using Qt version 4.6.2 in /usr/lib
```

```
morgan@intra:~$ sudo apt-get install libqt4-dev qt4-qmake
Reading package lists... Done
Building dependency tree
Reading state information... Done
libqt4-dev is already the newest version.
qt4-qmake is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
```

```
jenkins@intra:~/jobs/fca-master/workspace/vendor/bundle/ruby/1.8/gems/jasmine-headless-webkit-0.7.3.1/ext/jasmine-webkit-specrunner$ ruby extconf.rb
make: *** No rule to make target `clean'. Stop.
qmake is not installed or is not the right version (jasmine-headless-webkit needs Qt 4.7 or above).
You'll need to install it to build jasmine-headless-webkit.
sudo apt-get install libqt4-dev qt4-qmake on Debian-based systems, or downloading
Nokia's prebuilt binary at http://qt.nokia.com/downloads/ should do it for you.
true
```