diff --git a/ext/jasmine-webkit-specrunner/extconf.rb b/ext/jasmine-webkit-specrunner/extconf.rb index 6980885..79e68d3 100644 --- a/ext/jasmine-webkit-specrunner/extconf.rb +++ b/ext/jasmine-webkit-specrunner/extconf.rb @@ -7,4 +7,7 @@ require 'qt/qmake' system %{make clean} Qt::Qmake.make!('jasmine-headless-webkit', 'specrunner.pro') +# The build above can fail silently. So we check for the existence of the binary. +raise "\n***********************\nGem jasmine-headless-webkit-firstbanco failed to build. Have you got qtmake installed? On linux you need: sudo apt-get install libqtwebkit-dev qt4-dev-tools" unless File.exist?(File.expand_path('../jasmine-webkit-specrunner', __FILE__)) + FileUtils.cp File.expand_path('../Makefile.dummy', __FILE__), File.expand_path('../Makefile', __FILE__) diff --git a/jasmine-headless-webkit-firstbanco.gemspec b/jasmine-headless-webkit-firstbanco.gemspec index b228b93..b284293 100644 --- a/jasmine-headless-webkit-firstbanco.gemspec +++ b/jasmine-headless-webkit-firstbanco.gemspec @@ -4,7 +4,7 @@ require "jasmine/headless/version" Gem::Specification.new do |s| s.name = "jasmine-headless-webkit-firstbanco" - s.version = '0.9.0.rc.4' + s.version = '0.9.0.rc.5' s.platform = Gem::Platform::RUBY s.authors = ["John Bintz", "Sencha Inc.", "Pivotal Labs"] s.email = ["john@coswellproductions.com"]