Skip to content

Commit

Permalink
load capistrano/version so we can test it.
Browse files Browse the repository at this point in the history
  • Loading branch information
phallstrom committed Nov 12, 2013
1 parent a909352 commit 83be4c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/whenever/capistrano.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require 'capistrano/version'
if defined?(Capistrano::VERSION) && Gem::Version.new(Capistrano::VERSION).release >= Gem::Version.new('3.0.0')
load File.expand_path("../tasks/whenever.rake", __FILE__)
else
Expand Down

0 comments on commit 83be4c5

Please sign in to comment.