#!/usr/bin/env ruby require 'rubygems' def gem_dir File.expand_path('../..', __FILE__) end $:.unshift(File.join(gem_dir, 'lib')) puts "Running Jasmine specs..." require 'jasmine/headless/cli' exit Jasmine::Headless::CLI.run