bin/mina in mina-0.2.0.pre2 vs bin/mina in mina-0.2.0

- old
+ new

@@ -40,10 +40,15 @@ # Load the Mina Rake DSL. require 'mina/rake' # Allow running without a Rakefile - load_rakefile if have_rakefile || custom_rakefile + begin + load_rakefile if have_rakefile || custom_rakefile + rescue Exception + puts "Error loading Rakefile!" + raise "There may be a problem with config/deploy.rb and/or Rakefile" + end # Run tasks top_level scope.mina_cleanup! if top_level_tasks.any?