Permalink
Browse files

Fail silently if Appraisal file is not existed

  • Loading branch information...
1 parent 74d1a5c commit d15a63527b3adc936bb46139bcbed8095fa17efa @sikachu sikachu committed May 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/appraisal/file.rb
View
2 lib/appraisal/file.rb
@@ -14,7 +14,7 @@ def initialize
@appraisals = []
@gemfile = Gemfile.new
@gemfile.load('Gemfile')
- run(IO.read(path))
+ run(IO.read(path)) if ::File.exists?(path)
end
def each(&block)

0 comments on commit d15a635

Please sign in to comment.