Skip to content

Commit

Permalink
don't ignore vlad loading errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mackuba committed Dec 3, 2010
1 parent c0d33d4 commit 6de8ba3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ if Rake.application.options.show_tasks or Rake.application.top_level_tasks.any?
$TESTING = true # Required to bypass check for reserved_name? in vlad. DataMapper 0.9.x defines Kernel#repository...
require 'vlad'
Vlad.load :scm => "git", :app => "passenger", :web => nil
rescue LoadError
# do nothing
rescue Exception => e
p e
puts e.backtrace.join("\n")
end
end

Expand Down

0 comments on commit 6de8ba3

Please sign in to comment.