source :rubygems gemspec group :development do # Use local copy of simplecov in development when checked out or fetch from git if File.directory?(File.dirname(__FILE__) + '/../simplecov') gem 'simplecov', :path => File.dirname(__FILE__) + '/../simplecov' else gem 'simplecov', :git => 'https://github.com/colszowka/simplecov' end end