johnbintz/jasmine-headless-webkit — Issue #104: No runner found on Mac OS X Lion with Qt installed
Author: andybz
Created: 2011-12-26 17:27:36+00:00
State: open

I'm having a very hard time figuring out the cause of this:

bundle exec jasmine-headless-webkit give me this:

````
No runner found, attempting to compile...
make: *** No rule to make target `clean'. Stop.
/Developer/Tools/Qt/moc -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/usr/include/QtNetwork -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers -I/usr/include/QtWebKit -I/usr/include -I. -F/Library/Frameworks -D__APPLE__ -D__GNUC__ Page.h -o moc_Page.cpp
make: /Developer/Tools/Qt/moc: No such file or directory
make: *** [moc_Page.cpp] Error 1
[jasmine-headless-webkit] The jasmine-headless-webkit specrunner (jasmine-webkit-specrunner) could not be found! Try reinstalling the gem. (Jasmine::Headless::NoRunnerError)
/Users/andy/.rvm/gems/ruby-1.9.2-p290@project/gems/jasmine-headless-webkit-0.8.4/lib/jasmine/headless/runner.rb:41:in `initialize'
/Users/andy/.rvm/gems/ruby-1.9.2-p290@project/gems/jasmine-headless-webkit-0.8.4/lib/jasmine/headless/command_line.rb:10:in `new'
/Users/andy/.rvm/gems/ruby-1.9.2-p290@project/gems/jasmine-headless-webkit-0.8.4/lib/jasmine/headless/command_line.rb:10:in `run!'
/Users/andy/.rvm/gems/ruby-1.9.2-p290@project/gems/jasmine-headless-webkit-0.8.4/bin/jasmine-headless-webkit:10:in `'
/Users/andy/.rvm/gems/ruby-1.9.2-p290@project/bin/jasmine-headless-webkit:19:in `load'
/Users/andy/.rvm/gems/ruby-1.9.2-p290@project/bin/jasmine-headless-webkit:19:in `

'

qmake -v give me this:

````
QMake version 2.01a
Using Qt version 4.7.4 in /Library/Frameworks

I installed qt through homebrew and am currently using capybara-webkit without issue, which also has a qt dependency.

I'm on Mac OS X Lion using these gems:

````
jasmine (1.1.2)
jasmine-core (1.1.0)
jasmine-headless-webkit (0.8.4)
jasmine-rails (0.0.2)