Rakefile in tb_media-1.0 vs Rakefile in tb_media-1.0.1
- old
+ new
@@ -24,5 +24,14 @@
load 'rails/tasks/engine.rake'
Bundler::GemHelper.install_tasks
require 'rake'
+
+begin
+ require 'jasmine'
+ load 'jasmine/tasks/jasmine.rake'
+rescue LoadError
+ task :jasmine do
+ abort "Jasmine is not available. In order to run jasmine, you must: (sudo) gem install jasmine"
+ end
+end